[Gambas-user] BUG: Select when CASE DEFAULT

Benoit Minisini gambas at ...1...
Sat Mar 27 11:03:25 CET 2004


On Saturday 27 March 2004 04:04, ron wrote:
> I have code as
> SELECT CASE w
> CASE 1
> 	...
> CASE 2
> 	...
> CASE DEFAULT <---  :(
> 	...
> END SELECT
>
> The DEFAULT gives a error but is in the help it is valid
> ELSE works ok.
>
> I tested the code as in the help and changed the last case to
> verify the error was not my project related.
>
> Ron
>

The syntax is "CASE ELSE" or "DEFAULT". Not "CASE DEFAULT"!

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list