Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETDIR() returns a numeric value
Message
From
01/04/1999 18:23:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
GETDIR() returns a numeric value
Miscellaneous
Thread ID:
00204491
Message ID:
00204491
Views:
47
The code fragment below works from the command line and when
I go to the debug window and come to the top of the code
fragment and choose "Set Next Statement".

This very bizzare behavior is occuring in an APP under
VFP 5.0a.


I am running the following code where oApp.cDataPath = "D:\tom\data\"
and lcDirName returns a numeric 3.

LOCAL lcDirName
lcDirName = ""
IF TYPE("oApp.cDataPath") = "C" AND NOT EMPTY(oApp.cDataPath)
lcpath = oApp.cDataPath
ELSE
lcpath = ""
ENDIF

lcDirName = GETDIR(lcPath,'Store data where?')
Next
Reply
Map
View

Click here to load this message in the networking platform