[REBOL] Re: New REP
From: g:santilli:tiscalinet:it at: 22-Jan-2003 20:39
Hi Ladislav,
On Wednesday, January 22, 2003, 3:42:05 PM, you wrote:
LM> I am afraid, that it is too hard to implement such a feature.
Actually I don't think so. Currently we have this:
>> a: [1 2 3]
== [1 2 3]
>> b: tail a
== []
>> clear a
== []
>> b
== ** Script Error: Out of range or past end
My (and Romano's) request (already sent to feedback) is that when
the interpreter encounters an out of range series, instead of
creating an error, it should reset the series to its tail.
This is possible now too:
>> b: tail b
== []
so I don't think it would be a problem.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r