Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: to-offset

From: rotenca::telvia::it at: 14-Apr-2002 1:13

Hi Gregg,
> >> to-index 0x0 3 > == -3 > > This should be 1, or not? > >> > > 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
>> to-index: 1x1 3
== 3 Again, this should be 1, or not? --- Ciao Romano