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

[REBOL] Re: Need help printing first elm of block

From: joel:neely:fedex at: 21-May-2001 11:07

Ermmmm... Correcting small glitch in wording, possibly misleading. Joel Neely wrote:
> Because PRINT does an implicit REDUCE on the argument block. > BLK contains two WORD! values, but if you force evaluation, > each of those words is bound to a string. > > >> foreach item blk [print [type? :item tab item]] > word aVar > word bVar > >> >
Of course each of those words is set to a string, whether or not you force evaluation! What I meant to say was: ...if you force evaluation, you get the string value to which each of those words is set. Sorry for any potential confusion! -jn-