[Gambas-user] Bug or feature with IIF

Lorenzo Tejera fidojones at ...805...
Tue Oct 31 20:40:39 CET 2006


The last one 1.9.45

2006/10/31, Benoit Minisini <gambas at ...1...>:
>
> On Tuesday 31 October 2006 02:31, Lorenzo Tejera wrote:
> > 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
>
> It is a bug. Which version of Gambas do you use?
>
> --
> Benoit Minisini
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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