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

[REBOL] Re: Which? [Object! Block!]

From: ammoncooke:yaho:o at: 27-Sep-2001 3:35

Wait! Let's see here: lyts: make object! [lyt: make object![wrd: tp: spc: vls: none]] tmp-lyts: [[lyt1: layout [text "layout1"]]] foreach l tmp-lyts[ nw-lyt: compose/deep[ wrd: (first l) tp: (second l) spc: [(third l)] (if (length? l) > 3 [ "vls:" fourth l ]) ] lyts: make lyts [ probe compose [(to-set-word first l) (to-word "make lyt[") (nw-lyt) (to-word "]")] ] ]
>> probe lyts
make object! [ lyt: make object! [ wrd: none tp: none spc: none vls: none ] ] why doesn't it add the composed block? Thanks!! Ammon