` Name attribute usage (Steve Parker ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Name attribute usage
1998-05-16 -- Steve Parker
 
>Using CW4 and ABC does anyone know how to set up variable file names. It >would be so great if you could put !pathname & 'filename.tps' in the Full >pathname of the dictionary but this does not work. Declare !PathName in your DCT as the Name(). Declare PathName globally in your app (or your data DLL or, in EE, in the DCT) and, here's the trick, give it an initial value. Usually this will be the DOS name of the file. Then, pick up the DOS path from, say, your INI or control file and: PathName = Clip(INI or control variable) & PathName


Today is April 27, 2024, 11:53 pm
This article has been viewed 35111 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: