Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File() Function with variable
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
File() Function with variable
Divers
Thread ID:
00512023
Message ID:
00512023
Vues:
40
I have to use the file() function but I can't hard code the name and path as I don't know what it is until run time.

When I try to store the path and file name to a variable and then put the variable in the file() function it always returns true.

Something like this:

lcFileName = "c:\lables\labelfile"

?file(lcFileName)

Gives me false, but I know that file exists in that directory.

Any suggestions?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform