Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILE_EXISTS() == FCLOSE(FOPEN()) ??
Message
 
 
À
06/11/1998 19:25:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00155434
Message ID:
00155440
Vues:
22
>I was looking for a command to determine the existence of a file in my default directory. Since I couldn't discern anything with that exact purpose I came up with this:
>
>if FCLOSE(FOPEN("MYFILE"))
>
>Anyone have a better way?
>
>Peter Robinson

Peter,

Try
IF FILE("MYFILE")

Sergey Berezniker
sergey@homemail.com
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform