I know the answer.

case myValue of
    "A", "B": --Note the comma
        print(A)
    "C":
        print(C)
    otherwise
       print(myNothing)
end case
 
Bye.


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 8:51 AM
Subject: <lingo-l> case/otherwise


> Hi all.
>  
> In a case/otherwise structure How can I do some 
thing 
> like...
>  
> case myValue of
>     "A": or "B": --if myValue="A" or myValue="B" 
then 
> print doc A???????
>         print(A)
>     "C":
>         print(C)
>     otherwise
>        print(myNothing)
> end case
>  
> I mean, join two matched possibility.
>  
> Thanks in advance.
>  
> Miguel.
> 
> [To remove yourself from this list, or to change to 
digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post 
messages to the list,
> email [EMAIL PROTECTED]  (Problems, email 
[EMAIL PROTECTED])
> Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]
> 
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to