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.

Reply via email to