> There is other similar bug or non-convinient feature.
> 
> IF NOT 1 = 2 THEN
> PRINT "This is never printed"
> ENDIF
> 
> IF NOT 1 = 1 THEN
> PRINT "This is also never printed"
> ENDIF
> 
> IF NOT (1 = 2) THEN
> PRINT "This however works"
> ENDIF
> 
> Tested with Gambas 2.21 and with Gambas 3 rev 3281.
> @ Ubuntu 10.04 64bit
> Jussi
> 

The priority of NOT is greater than the priority of '='.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to