Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with the File Command
Message
De
28/01/2002 06:35:35
 
 
À
28/01/2002 04:35:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00611357
Message ID:
00611424
Vues:
21
As Sergey and Cetin said, File() is not reliable.

use following instead
Function	FileExists(FileName)
        declare Integer GetFileAttributes in win32api string @
	return (GetFileAttributes(@FileName) <> -1)
endfunc
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform