Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check for Exclusivity
Message
 
À
16/10/2001 17:33:04
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00569279
Message ID:
00569330
Vues:
18
>>Do you think this would be a good VFP8 ER?
>>
>>IsOpenExclusive() that would return True or False.
>
>I think the issue is whether it _can_ be opened exclusive, right? Not whether it is already open, somewhere, exclusive.
>
>I think a better choice is to either have a choice to not throw an error if EXCLUSIVE fails, or to have your function also use it exclusive if it can. Don't know if that was clear.
>
>Just getting a true from CanOpenExclusive() isn't good enough since it might get used between the function and the next line where you USE it.

< slaps forehead > Yup, you are right. Does that still sound useful to implement?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform