[REBOL] Re: Switch with refinements/hmmm!
From: sterling::rebol::com at: 31-Oct-2001 14:23
Well, if you only expect one of the refinements to be used... refine-switch: func[ /ref-one /ref-two /ref-three][ switch true reduce [ ; needs a value ref-one [print "ref-one"] ref-two [print "ref-two"] ref-three [print "ref-three"] ] ] will catch the first one that is set. You have a new problem if more than one can set used. Sterling