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

Rolf-Werner Eilert eilert-sprachen at ...221...
Wed Oct 10 12:05:34 CEST 2012


Ok, that makes sense.

Thank you too!

Rolf


Am 10.10.2012 11:58, schrieb Fabien Bodard:
> You need to do:
>
> Print ("you have ")&  X&  iif(x>1, ("message"), ("messages "))
>
> Le 10 oct. 2012 11:48, "Rolf-Werner Eilert"<eilert-sprachen at ...221...>  a
> écrit :
>>
>> Hi all,
>>
>> Who has made the examples for IIF? Maybe you can explain what you meant
>> by "not translatable":
>>
>> ' Never do the following in real code, because it is not translatable!
>> X = 7
>> PRINT "You have "&  X&  " message"&  If(X<>  1, "s", "")&  " waiting."
>>
>>
>> Thanks
>>
>> Rolf
>>
>>
> ------------------------------------------------------------------------------
>> Don't let slow site performance ruin your business. Deploy New Relic APM
>> Deploy New Relic app performance management and know exactly
>> what is happening inside your Ruby, Python, PHP, Java, and .NET app
>> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>> http://p.sf.net/sfu/newrelic-dev2dev
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> 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