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

[REBOL] "else" with 'switch

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

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