Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What function would be equivalent to 'ISEXCLUSIVE()'
Message
De
01/03/2000 06:57:54
Dave Turnbull
Camel Services Ltd
Oxford, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
What function would be equivalent to 'ISEXCLUSIVE()'
Divers
Thread ID:
00339668
Message ID:
00339668
Vues:
52
Hi
I want to test if a file is opened exclusively, or not.
ISFlocked() will (theoretically) tell me about FLOCKS(), and SYS(2011) will give me (unhelpfully) a _localised_ "Exclusive" response.
I see that the sequence:
UNLOCK
ISFLOCKED()
will return .T. for an exclusive file (and it can't be locked, so must be Exclusive being my logic), but this is not documented as a way of testing exclusivity.

Is there a proper way of doing it pls?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform