POV-Ray : Newsgroups : povray.newusers : arrays : Re: arrays Server Time
4 Nov 2024 17:45:14 EST (-0500)
  Re: arrays  
From: jimbobjim
Date: 19 Feb 2002 04:56:12
Message: <3c72213c@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3c71ad88@news.povray.org...
> jimbobjim <jim### [at] blueyondercouk> wrote:
> : #declare my_array = array[3] {10,11,12}
>
> : #declare my_value = array[2];
>
> : hence my_value would take its value from the 2nd array element, ie  =
11.
>
>   Firstly, it has to be:
>
> #declare my_value = my_array[2];

oops, this is what is have in the pov code, but I had a little finger
trouble in typing the email...but I still get the missing semi-colon error.

Jim


Post a reply to this message

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