[Gambas-user] Or inside a Case

Charlie Reinl Karl.Reinl at ...9...
Tue Jun 17 18:38:54 CEST 2008


Salut,

just 


CASE "hola", "hello", "Hallo", hALLO"



Am Dienstag, den 17.06.2008, 09:29 -0700 schrieb Nx GT-R BOY:
> Hi, I have a problem, I am not really sure how to get an Or working inside a
> case, the compiler doesn't complain about any syntax problems, but the code
> just doesn't works:
> 
> 
> 
> SELECT CASE something.text
> 
> CASE "hola" or "hello"
> 
>             do something1
> 
> CASE "adios" or "bye"
> 
>             do something2
> 
> END SELECT
> 
> 





More information about the User mailing list