Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding, if file is used exclusively
Message
De
04/10/2000 22:56:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00425134
Message ID:
00425140
Vues:
17
I've been using the following for years (since the DOS days...)

PARAMETERS filename
fh = FOPEN(filename, 12)
IF fh > 0
=FCLOSE(fh)
RETURN (ok to use exclusively...)
ELSE
RETURN (file is in use, try again later...)
ENDIF

Hope this helps,

-Rick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform