[REBOL] Re: New REP
From: rotenca:telvia:it at: 22-Jan-2003 23:45
Hi Ladislav,
> > One reason is that usual debug tools fail with a out-of-range series.
>
> Which tools do you have in mind? I think, that it would be much easier to
> correct the debugging tools.
>> clear head b: next [1]
== []
>> b
== ** Script Error: Out of range or past end
>> probe b
** Script Error: Out of range or past end
** Where: probe
** Near: print mold :value :value
>> mold b
** Script Error: Out of range or past end
** Near: mold b
>> trace on
Result: (unset)
>> b
Trace: b (word)
== ** Script Error: Out of range or past end
** Near: mold b
>> ? b
B is a block of value: ** Script Error: Out of range or past end
** Where: ?
** Near: mold :value
>> ?? b
** Script Error: Out of range or past end
** Where: rejoin
** Near: mold name: get name
If you remember the old thread on this subject, they have also not uniform
behaviour:
1) safe
2) error!
3) rebol crash
All this lead to very hard to find and debug bugs.
Uh! i discovered this:
>> mold/all b
== "#[block![]2]"
useful for sameness?
---
Ciao
Romano