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

[REBOL] Re: dictionaries

From: cyphre::seznam::cz at: 17-Feb-2006 18:38

You can do even such 'confusing' things :-)
>> ctx1: make object! [value: 10] >> ctx2: make object! [value: 20] >> ctx3: make object! [value: 30] >> blk: copy []
== []
>> repeat n 3 [append blk in get to-word join 'ctx n 'value]
== [value value value]
>> blk
== [value value value]
>> reduce blk
== [10 20 30]
>>
regards, Cyphre