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

[REBOL] Problems with block of datatype!s

From: tim:johnsons-web at: 12-Sep-2001 9:40

I would like to be able to test a word for a match in a block whose members are datatypes. The example code doesn't do what I want it to do:
>> types: [string! number!]
== [string! number!]
>> find types string!
== none ; was hoping for [string! number!]
>> types/1 = string!
== false ; was hoping for 'true Just curious: what else do I need to do here? TIA tj