[Gambas-user] IF Not (any boolean) then
Lewis Balentine
lewis at ...3412...
Fri Jan 2 01:56:59 CET 2015
>> The error is not the NOT it's the missing () .... <<
Actually the error turns out to be "EXTRA" (Parenthesis).
The following two lines do not produce the error:
If Not True Then Print "False" Else Print "True"
If Not TestFunk() Then Print "False" Else Print "True"
It was my mistaken impresion that the parameters of an operator(s) could ALWAYS be enclosed within Parenthesis as in:
X = 1 + 1
X = (1) + (1)
X = (1 + 1) * 1
Lewis Balentine
More information about the User
mailing list