[Gambas-user] IDE editor problem

GarulfoUnix garulfounix at ...626...
Tue Apr 15 17:26:16 CEST 2008


Le Tuesday 15 April 2008 17:14:23 Pino Zollo, vous avez écrit :
> This is a part of my program...
>
>   IF (Radio1)NOT NULL THEN
>     r1port = rData!r1port
>     r1address = rData!r1address
>     r1br = rData!r1br
>
> Without the parenthesis around the variable Radio1 the editor eliminates
> the space between 1 and NOT even if they are of different colours.
>
> So the interpreter gets Radio1NOT as a single word giving error.
>                                         ^       ^
>                                    black     blue
> I am using GAMBAS 2.0
>
> Regards
>
> Pino
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
>one _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Hi Pino,

I would say the correct form is :

IF NOT Radio1 THEN
  ' your code
ENDIF

;) 


-- 
Gambas ? There is less good but it's more expensive !




More information about the User mailing list