[REBOL] Re: Object of confusion
From: gabriele::colellachiara::com at: 7-Sep-2004 18:36
Hi SunandaDH,
On Tuesday, September 7, 2004, 6:27:25 PM, you wrote:
Sac> Here's a related strange thing:
Sac> b: copy [] load append/only b b
Sac> Crashes the interpretor (does for all Windows versions I've tried -- and I've
Sac> bug-track reported it), but
Sac> b: copy [] load insert/only b b
Sac> only causes a
Sac> " ** Script Error: Out of range or past end" message, unless you try the load
Sac> a 2nd time:
Sac> b: copy [] load insert/only b b load insert/only b b
Sac> then you'll crash the interpretor,
The difference is that in the first LOAD gets the block at the
head, in the second at the tail. Your third version returns to
LOAD B at the middle position.
About the crash, I guess it's just a failure in handling the
infinite recursion...
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/