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

[REBOL] Block as parameter (version 2 !!)

From: info:id-net:ch at: 17-Aug-2002 19:28

Finally I still have a problem with the block as parameter, Check it out those code in a VID solution: append big-box reduce compose/deep [ 'at (positioDepar + 467x-15) 'button (uppercase (to-string lg/passer)) 110x16 [ procedure-passer (count1) fonction-update (a-line) ] ];append the a-line is a block before being composed into this big-box layout.. but the "print mold" of this big-box is .... .... fonction-update element1 element2 element3 .... etc. .... .... Finally i cannot pass a block as a parameter within a VID layout because it decomposed into elements of the block instead of a block... So the result is that : the function is waiting on a block and the first element passed is considered as a block.. How can I resolve that ?