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: arolls:bigpond:au at: 22-May-2001 1:47

Hi, blk is just a block of words. You specifically want to evaluate the first word in the global context. What is its value in the global context? (It could have a different value in a different context). Anyway, to get the value of the first word in blk, try this code: print get first blk or: print first reduce blk or: blk: reduce [aVar bVar] == ["one" "two"] print first blk == "one" Anton.