[REBOL] Multiple Word Conditional?
From: rsnell::webtrends::com at: 16-Nov-2000 9:33
Given three mutually exclusive refinements in a function
(or just three words in a script), what is the best way
to perform the conditional?
Of course we can do:
either one [print "1"] [either two [print "2"][print "3"]]
but this gets ugly for more than three words and I thought
that someone recently posted a trick using 'any
that made this simpler and more readable. Can't find it
though. Any suggestions?