POV-Ray : Newsgroups : povray.advanced-users : Problem concerning the use of array indices inside functions : Re: Problem concerning the use of array indices inside functions Server Time
29 Jul 2024 06:20:08 EDT (-0400)
  Re: Problem concerning the use of array indices inside functions  
From: Jaap Frank
Date: 2 May 2003 14:20:32
Message: <3eb2b6f0$1@news.povray.org>
"Slime" <slm### [at] slimelandcom> wrote in message news:3eb2b047$1@news.povray.org...
> > If you take this literally then this means you can't use arrays inside
> functions,
> > but I know that you can use them because my interpolation functions are
> > full with them, but they all have fixed indices.
>
>
> What happens there is that, since the indices are fixed, POV-Ray can
> evaluate the array index during parse time, and simply puts the respective
> value into the function, rather than the array reference itself.

Thank you for this explanation, for I now understand the answer of Chris
about 'not supporting arrays'.

Jaap Frank


Post a reply to this message

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