[REBOL] Re: Enhancement Request - Range! datatype Re:(6)
From: alex:pini:mclink:it at: 22-Aug-2000 20:35
>- Open Your Mind -<
Quoting from [Al--Bri--xtra--co--nz's] message (21-Aug-00 09:23:20).
I like the range! idea. My two cents follow...
A>> I like the use of "-" but I feel it will cause confusion if a negative is
A> used in the range.
A>>
A>> -1--10
A>
A> Actually, the lesser value should be first. So this should be:
A>
A> -10--1
I dissent. There could be situations needing inverted ranges, for example scientific
calculation/simulation.
Now that I mention that, the /delta refinement immediately springs to mind.
>> r1: 6-15.6
== 6-15.6
>> r1/delta
== 9.6
>> r2: 4--100
== 4--100
>> r2/delta
== -104
Alessandro Pini ([alex--pini--mclink--it])
Fasten your seatbelt. I'm gonna try something.
(Solo)