[Gambas-user] IF Not (any boolean) then

Lewis Balentine lewis at ...3412...
Thu Jan 1 23:07:10 CET 2015


If I use "NOT" in an "IF" statement with any boolean (function or value) 
then I get an error. example:

If NOT (BooleanFuntion) then Do this
unknown identifier: NOT

Am I mistaken in thinking that one should be able to use the NOT 
operator in this manner ?

I can get around this by changing the syntax to. example:
If BooleanFuntion = False then Do this

Regards,

Lewis




More information about the User mailing list