Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on File()
Message
De
09/08/2010 13:21:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01475734
Message ID:
01475781
Vues:
30
>>>>>Does .EXE have to be in the PATH or .EXE simply searches through itself even if it is not in the PATH?
>>>>
>>>>
>>>>No, VFP just searches in EXE.
>>>
>>>What if the exe calls another APP or exe?
>>
>>Nope, only in the currant EXE (where FILE function is called) :-)
>>Not in ALL EXEs in the disk :-)
>
>I meant VFP application calling, say, VFP app as part of it. But I believe it will only search in the first exe and not in any dependent apps (exes).
IIRC FILE() will return .T. for any files included into the module (i.e. APP/EXE) in which the FILE() funciton was called or is available externally. It won't detect presence of a file that was built into a calling APP/EXE.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform