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

[REBOL] Block as parameter

From: info:id-net:ch at: 17-Aug-2002 10:03

Hello RebList ! I often pass as parameter a block to a function. The block is often the result of a read/lines function. The problem is that, when I pass this block as parameter, it seems that block is changed : Below, a: read/lines %theTXT.txt length? a ; --> 12 ; because of 12 lines but when i pass 'a to a function the result is : make-this: func [the-block] [ print length? the-block; ----> 120 ; because for example, my txt has a 10 column structure ] make-this a How could I keep the block intact, without any transformation ?? Phil