[Gambas-user] Bug or feature with IIF

Lorenzo Tejera fidojones at ...805...
Tue Oct 31 02:31:19 CET 2006


I'm trying to use old visual basic code, and this not work

IIf(bUltimo, "", ",")

bUltimo is boolean, gambas give an error with the first parameter ("" the
empty string), say   "wanted null and give a String instead"

If I put

IIf(bUltimo, " ", ",")

And " " space string works fine, but I can't return a "" empty string.....

In visual basic it works; it's a bug or a feature benoit?

regards
Lorenzo



More information about the User mailing list