[Gambas-user] Or inside a Case
bruno
bruno.crepax at ...69...
Tue Jun 17 18:49:35 CEST 2008
this work:
SELECT CASE "adios"
CASE "hola", "hello"
TextBox1.text = "Hola Hello"
CASE "adios", "bye"
TextBox1.text = "Adios Bye"
END SELECT
Bye.
Il giorno mar, 17/06/2008 alle 09.29 -0700, Nx GT-R BOY ha scritto:
> 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