[REBOL] Re: Core 2.5.5 Beta Versions
From: lmecir:mbox:vol:cz at: 24-Feb-2003 13:13
Hi all,
Gabriele wrote:
...
> I
> just think the interpreter should reset out-of-range series values
> to the series tail when they are evaluated.
>
> I.e.:
>
> a: "12345"
> b: skip a 2
> clear a ; nothing happens to b here
> index? b ; == 1 (b is reset to tail b as soon as it is evaluated)
> insert a "12345"
> index? b ; == 1
>
> This way it would be like if out-of-range series did not exist at
> all; I think it would be much less confusing (as out-of-range
> series are not useful, so I don't need that concept in the
> language).
I forgot to ask: What did you propose for the following situation?
a: "12345"
b: skip a 2
c: b
clear a ; nothing happens to b here
index? b ; == 1 (b is reset to tail b as soon as it is evaluated)
insert a "12345"
index? b ; == 1
index? c ; == ?
Ciao
-L