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

[REBOL] R: Re: Why this works ?

From: gchillemi::aliceposta::it at: 20-Nov-2005 9:59

> Hi Giuseppe, > Your assumption that SITE is a copy is incorrect. > Each iteration through the FOREACH body block, > SITE is set to a new url. Essentially, SITE is a > "pointer" to the original url. There is no copying > happening.
SITE points to a subseries whose first element is the first char of the element of the series and whose tail is set to to the last charc.
> Therefore, INSERT, REMOVE and APPEND are all working > on the original urls.
And on the original series which is enlarged according. This is written nowhere in the manual and you should read it plus some articles plus you must read some code to understand they are not copies but pointers. Ok, we already know this: documentation needs to be revised. Giuseppe Chillemi