[REBOL] Re: Core 2.5.5 Beta Versions
From: rotenca:telvia:it at: 24-Feb-2003 13:18
Hi,
> 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
Instead:
> a: "12345"
> b: skip a 2
> clear a ; nothing happens to b here
> insert a "12345"
> index? b ; == 3
Gabriele, don't you see any problem in this?
I could like also the Joel solution (= my second solution). But the big
problem with out-of-range series is debugging.
What i want to see is an "always debuggable" series.
Today is a true hell with cases like these:
>> b: tail a: "1"
== ""
>> c: reduce [a b]
== ["1" ""]
>> clear a
== ""
>> probe c
** Script Error: Out of range or past end
** Where: probe
** Near: print mold :value :value
How to understand what series is out-of-range?
I can accept also moving index if i can debug it. But in the 2.5.5 beta
debugging problems are the same (but with more crash).
---
Ciao
Romano