[Gambas-user] Example to IIF: what is meant here

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Oct 10 20:08:24 CEST 2012


> Still wouldn't work for Yoda-speak"
>
> "29 messages have you" :-)
>

Wrong, this would work.

Code was:
Print Subst(("you have &1 &2"), x, IIf(x > 1, ("messages"), ("message")))

And so, you would translate "you have &1 &2" to "&1 &2 have you".


Jussi



More information about the User mailing list