Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Value of Memory Variable is weird
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01095604
Message ID:
01095626
Views:
14
>The following code produces a value of .T. when operating; however, when you are in DEBUG mode, the value shows as .F. for the oApp.IsNetwork MemVar. The fact is that I am using a Laptop which is not networked to a G:\ drive at all. So, why does the value come out as .T.?
>
>
>.IsNetwork   = FILE('g:\quotes\quote2.fxp')
>
The FILE() function ignores the specified path, and searches all the directories specified in your Set path. This means that the File() function is very dangerous and should NEVER be trusted!
.IsNetwork   = ADIR(dummy,'g:\quotes\quote2.fxp')>1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform