Benoit Minisini ha scritto: > On vendredi 05 septembre 2008, [EMAIL PROTECTED] wrote: > >> When I type: >> If(bla = x) then >> During compilation, I get the error: >> Not enough arguments to if() >> >> When I type: >> If (bla = x) then >> All went fine. >> >> The only difference between the two statements is the missing whitespace >> after "If" in the first one. >> >> Greetz >> Stevie >> >> > > Yes, because If() is a function. The IF statement does not need to take > parenthesis. > > Regards, > > This seems to me a little strange - there is already the Iif() function... is this shorter name "If()" for some VB(tm) compatibility? I am just curious about it...
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user