Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange problem with ISEXCLUSIVE AND USED
Message
De
02/07/2003 06:42:41
 
 
À
02/07/2003 06:26:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00805992
Message ID:
00805994
Vues:
24
>Hi,
>
>Why is using the command below working fine
>
>IF USED("test") AND ISEXCL("test")
>
>ENDIF
>
>But the command below is not but giving alias not found ?
>
>IF NOT USED("test") AND NOT ISEXCL("test")
>
>ENDIF
>
>
>Any explanation and way to remedy the second command above.
>Thank you

Virusim,

In the second case, NOT USED('test') passes the test, it is not used. Then you try to find out if something that is not used is (not) exclusive. ie, IsExcl() can olny be used with an argument that is used or opened ;-)

If you want to negate test1: if( !used('test') OR !isExcl('test') )

Another thing: if it's not used, what's the meaning of IsExcl() ?
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform