>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