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

[REBOL] Re: setting values to blocks - need help

From: tim-johnsons:web at: 28-Apr-2009 14:06

On Tuesday 28 April 2009, =DEemseddin Moldibi [ Bircom ] wrote:
> Strings and blocks are always references in Rebol. If you want different > block for each of them, you should use copy command. > It is same for strings also.
And that is not a bad thing, once you get used to it. For instance, if you were to assign a series value to a word in a function, rather than 'copy'ing the value to the word, the word then retains its value, for subsequent calls to that function. Like a static datatype in C. Can be useful at times. tim