Ryan wrote:
> Why doesn't 'switch work within 'either?
>
> testfunc: func [option][
> either option = any [("A")("B")][
> switch option [
> "A" [print "A"]
> "B" [print "B"]
'any tests for logic condition being false or none. To get your intent, try:
any [
option = "A"
option = "B"
]
to return true if option is "A" or "B".
I hope that helps!
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/
-><-
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.