[Gambas-user] little problem here...

Stefano Palmeri rospolosco at ...152...
Sat Dec 10 20:44:32 CET 2005


Hi all. Hi Benoit.

I'm porting a gambas1 project to gambas2 and I noticed a strange thing.

In Gambas1 the command:

PRINT 1 + 1 & " = 1 + 1" 

returns

2 = 1 + 1

In Gambas2 the same instruction returns 

2

The second part of the string is missing...

But if I put "1 + 1" beetwen round brackets it works fine.

PRINT (1 + 1) & " = 1 + 1" returns

2 = 1 + 1

Please, I would like to know whether this is a new rule
of Gambas2, (because I've a plenty of these strings to fix...)
or a temporary bug (some kind of relation to new C-style assignment 
operators?).

Regards,

Stefano Palmeri

P.S. My Gambas2 version is 1.9.20
 




More information about the User mailing list