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,

-- 
Benoit Minisini

-------------------------------------------------------------------------
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

Reply via email to