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

[REBOL] Re: Unable to use Switch and Datatypes..

From: larry:ecotope at: 7-May-2001 10:26

Hi Scott Just a quick tip. This works: switch/default type?/word 'aWord [ word! [ print "a word is a word."] ] [ print "A word is not always a word." ] You need to have word! be a word in the switch list, not a datatype. -Larry