[REBOL] Re: How can one use named constants in switch?
From: phil:hayes:cnutarch at: 25-Oct-2001 18:55
David, How about ? A little neater .. set [ CASE_A CASE_B ] [ 1 2 ] msgType: 'CASE_B switch msgType [ CASE_A [ print "A" ] CASE_B [ print "B" ] ] Phil