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

[REBOL] Re: The truth about scope

From: gabriele:colellachiara at: 14-Apr-2005 11:55

Hi Michael, 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"]
== ["Hello"]
>> s: skip first b 2
== "llo"
>> insert tail s " world!"
== ""
>> s
== "llo world!"
>> b
== ["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. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: