[REBOL] Re: to-offset
From: greggirwin:mindspring at: 14-Apr-2002 10:14
Hi Romano,
<<
> Not. :) The lowest pair bound you use should be 1x1 (no bounds checking in
> the above sample function). I don't like 0 to n-1 numbering.
Mhhhh, offset in Rebol are 0x0 based and then
>>
Are you saying that REBOL uses 0x0 to (n-1)x(n-1) itself? Can you give me an
example? I do like to maintain consistency with native design choices when I
can.
<<
>> to-index: 1x1 3
== 3
Again, this should be 1, or not?
>>
It does. You have an extra colon in there. :)
>> to-index 1x1 3
== 1
--Gregg