Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange problem with ISEXCLUSIVE AND USED
Message
From
02/07/2003 06:42:41
 
 
To
02/07/2003 06:26:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00805992
Message ID:
00805994
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform