HackFox7 says: "For some reason, SET("DEFAULT") has never been enhanced to keep up with the times. It still returns just the drive with no path. No extra parameters or anything to let you find the path. Of course, CURDIR() provides the path. Even better, the undocumented SET("DIRECTORY") gives you the drive and path as a single string."
On Wed, Jul 20, 2016 at 4:34 PM, Joe Yoder <j...@wheypower.com> wrote: > Actually I discovered that my code was disappearing after the commands were > executed so I did some more Googling and found that the value to be saved > is returned by CURDIR() rather than SET('DEFAULT'). It gets restored with > "SET DEFAULT TO." That explains why things weren't working for me! Somehow > it seems better terminology could have been chosen! Visual FoxPro is an amalgam of dBASE, Fox, a bunch of obscure SYS() functions, and at least three different menu and screen design systems you shouldn't be using any more. There's a lot of abtuse corners to thwack your shins on. Luckily, the language has finally stabilized, so all the inconsistencies can be documented. -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cacw6n4tt-3_djjs-6mojetkmku56jksts1kwqvjra6vxfrf...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.