Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a best practice?
Message
 
 
To
18/07/2004 19:27:44
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00925541
Message ID:
00925650
Views:
13
--
BTW, speaking of getting the path, I've seen sys(5)+curdir(), or chopping the sys(16) so many times, and it just looks to me like too much typing :). Seems to be nobody knows about Set("directory") (or set("dire") which also works),
--

Does not do always what I was suggesting, though. SET("DIRE") doesn't tell you where the EXE is in the same way as SYS(16,0) does -- unless you run the code with SET("DIRE") up-top in your app.

My point was that you could find out where the EXE was at any time, you didn't need to say "this code belongs up-top in the MAIN.PRG" necessarily.

>L<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform