POV-Ray : Newsgroups : povray.general : Arrays: integer in subscript? : Re: Arrays: integer in subscript? Server Time
7 Aug 2024 17:29:04 EDT (-0400)
  Re: Arrays: integer in subscript?  
From: Bob H 
Date: 15 Aug 2001 23:11:43
Message: <3b7b39ef@news.povray.org>
"Ron Parker" <ron### [at] povrayorg> wrote in message
news:slr### [at] fwicom...
> On Wed, 15 Aug 2001 21:40:14 -0500, Bob H. wrote:
> >They will become whole number positive integers 1 to N, at least from
what I
> >understand.  I was just looking into them once again and realized they
are
> >initialized as 1 to N yet are accessed as 0 to N-1.  I thought I recalled
a
> >discussion about that before and whether it should be changed.  Not sure.
>
> I don't recall seeing any subscripts in the initializer.  What do you mean
> by "initialized as 1 to N"?

Sorry, I don't know the terminology at all but I meant array[subscript]
where subscript is initialized using 1 to N and then becomes 0 to N-1 when
later accessed.
Or do I have that all wrong?

Bob H.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.