Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: "else" with 'switch

From: norsepower:uswest at: 17-Feb-2001 13:44

Getting closer. But how come...
>> testfunc "B"
C Why doesn't 'switch work within 'either? testfunc: func [option][ either option = any [("A")("B")][ switch option [ "A" [print "A"] "B" [print "B"] ] ][ print "C" ] ] -Ryan