I'm trying to develop else-like logic using 'switch...
testfunc: func [option][
switch option [
"A" [print "A"]
"B" [print "B"]
(not (all ["A" "B"])) [print "C"]
]
]
The above function doesn't work. Is there a way to get this to work?
-Ryan
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
- [REBOL] Re: "else" with 'switch <[EMAIL PROTECTED]>
- [REBOL] Re: "else" with 'switch <[EMAIL PROTECTED]>
- [REBOL] Re: "else" with 'swit... Andrew Martin
- [REBOL] Re: "else" with 'swit... Paul Tretter
- [REBOL] Re: "else" with '... Andrew Martin
- [REBOL] Re: "else" with 'switch Andrew Martin
- [REBOL] Re: "else" with 'swit... <[EMAIL PROTECTED]>
