[Gambas-user] Case statement quesiton

Benoît Minisini gambas at ...1...
Mon Jul 19 12:13:27 CEST 2010


>   Select Case BMI
>       Case < 25
> 
> This dosn't seem to work? can't one use less than, greater than, <> etc?
> 
> Regards
> 
> Richard
> 

Look in the documentation: you must write CASE Expr1 TO Expr2

In revision #3046, you can even write CASE TO 25 to do what you want.

Regards,

-- 
Benoît Minisini




More information about the User mailing list