[Gambas-user] string operator ==

Demosthenes Koptsis demosthenesk at ...626...
Tue Nov 9 23:13:41 CET 2010


Yes. I tried at amd64 and i386. I get the same results.

i attach screenshot from i386. 




On Tue, 2010-11-09 at 20:40 +0200, Jussi Lahtinen wrote:
> That is bug... However I cannot reproduce it with Gambas 2.21 or with Gambas
> 3 rev 3281.
> @ Ubuntu 10.04 64bit
> 
> Are you sure you got it correct?
> 
> Jussi
> 
> 
> On Tue, Nov 9, 2010 at 14:46, Demosthenes Koptsis <demosthenesk at ...626...>wrote:
> 
> > Hi,
> >
> > i dont understand the following result.
> >
> > PRINT "abc" == "ab"   'true
> > PRINT "abc" == "abc"  'false
> >
> > in http://gambasdoc.org/help/cat/stringop
> > says
> > Returns if two strings are equal. The comparison is case unsensitive.
> >
> > 1) why "abc" and "ab" says they are equal?
> > 2) and "abc" == "abc" are not?
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > 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
> >
> ------------------------------------------------------------------------------
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tests - Gambas 2_001.png
Type: image/png
Size: 69973 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101110/16317513/attachment.png>


More information about the User mailing list