Just a question: Am 10.10.2012 16:20, schrieb Jussi Lahtinen: >> Print ("you have ")& X& iif(x>1, ("message"), ("messages ")) >> > > This is still not good. Better would be: > > Print Subst(("you have&1&2"), x, IIf(x> 1, ("messages"), ("message")))
Why do you put the () around the ""? According to the Subst help page, a simple "" should do. 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user