Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Value of Memory Variable is weird
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01095604
Message ID:
01095626
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform