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

[REBOL] Re: Passing word in a block as an argument

From: al:bri:xtra at: 10-Feb-2003 17:26

Tim wrote:
> So: how do I get the values of a,b,c and d? >> blk: [1 2 3 4 5 6 7 8 9 10 11 12]
== [1 2 3 4 5 6 7 8 9 10 11 12]
>> cols: [a b c d]
== [a b c d]
>> map blk func cols [print [a b c d]]
1 2 3 4 5 6 7 8 9 10 11 12 Use 'map. :) Andrew Martin ICQ: 26227169 http://valley.150m.com/