[REBOL] Re: The truth about scope
From: gabriele:colellachiara at: 14-Apr-2005 11:55
On Wednesday, April 13, 2005, 8:22:17 PM, you wrote:
MB> I have no idea what you really mean. :-) I think you don't talk about the
MB> position because of the block, or that the interpreter encounters the
MB> block later.
Ok... you're off track here. :)
A series does not just have the sequence of elements. It also
keeps a position in the sequence.
>> b: ["Hello"]
>> s: skip first b 2
>> insert tail s " world!"
== "llo world!"
== ["Hello world!"]
The first element of B and the value referred to by 'S are not
*exactly* the same value. They are two series values, referring to
the same sequence of elements, but at different positions.
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/