[Gambas-user] string operator ==

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Nov 10 18:18:22 CET 2010


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



2010/11/10 Benoît Minisini <gambas at ...1...>

> > Am I missing something here?  This would seem to me to be a fairly
> > critical bug.
> >
> > I'm running v2.19 here as provided by my distro (Ubuntu 10.04 64-bit)
> > and am also seeing the "turned around" logic giving what seems like
> > wrong results for all equality string comparisons.
> >
> > Can we expect an update to the version(s) in the respositor(y)(ies),
> > considering the seriousness of this bug?
> >
> > Do we know since when this has been broken?  I'd hate to think I'd
> > shipped any software based on Gambas that includes this bug (although I
> > have a feeling even the most rudimentary tests would have picked this
> > up... I hope!)
> >
> > Thanks and regards,
> > Caveat
> >
>
> I will release a 2.22 version soon. Hopefully, this operator is rarely
> used!
>
> --
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list