Time to roll out my little demo.
Open a Rebol/View console and paste this:
do http://www.lexicon.net/antonr/rebol/demo/demo-series.r
Anton.
> 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.
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.