They should work, since it is strings you are passing to IIf.

2012/3/16 Bruce Bruen <bbr...@paddys-hill.net>

> On Fri, 2012-03-16 at 22:42 +0100, Benoît Minisini wrote:
> > Le 16/03/2012 22:21, Emil Lenngren a écrit :
> > > Yeah, I alreadyd did that ^^
> > > It says "a" is an integer even though it should be a string...
> > > I think it is not really meant that you should be able to pass
> functions
> > > into IIf...
> > >
> > > /Emil
> > >
> >
> > In revision #4557, I have forbidden the use of Class or Function values
> > in IIf() and in the array constructor [ ... ].
> >
> > Regards,
> >
> I hope this means that the many hundreds of display code lines I have
> like:
>
> gvwHorse[r,c].Text = IIf(IsNull(CurrentHorse.Age),"N/R",Format
> $(CurrentHorse.Age,"##"))
>
> are still going to work?
>
> Bruce
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to