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

[REBOL] Re: How to check validity of types ?

From: rebol:techscribe at: 15-Jan-2001 11:05

Hi Christian, the reason you get this behavior is that the words in the block, [integer! string!], are not bound to the REBOL global context. Simply say b: reduce [integer! string!] and that will do the trick. When you reduce the block REBOL binds the words to the global context and now integer! = first b == true, and string! = second b == true as well. Hope this helps, Elan CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN wrote: