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

[REBOL] Problems with blocks

From: mikaelh::delphi::se at: 2-Oct-2002 11:24

Hi, How can I create blocks in a block like the first code snippet here but doing it dynamically like the second exampel? d should be the same as b. b: make block! [["a" "b"]] b: append b [["c" "d"]] probe b => [["a" "b"] ["c" "d"]] c: [["a" "b"] ["c" "d"]] d: make block! [] foreach cc c [ d: append d cc ] probe d => ["a" "b" "c" "d"] /Mikael