OK, makes sense. Though there should be warning in documentation (to "NOT" section and to "Differences From Visual Basic"). And maybe compiler warning?
Jussi 2010/11/10 Benoît Minisini <gam...@users.sourceforge.net> > > 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 > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ 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 Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user