POV-Ray : Newsgroups : povray.programming : POV-Ray v.4 proposal : Re: POV-Ray v.4 proposal Server Time
29 Jul 2024 04:31:48 EDT (-0400)
  Re: POV-Ray v.4 proposal  
From: Ron Parker
Date: 18 May 1999 14:39:10
Message: <3741a5be.0@news.povray.org>
On Tue, 18 May 1999 19:25:20 +0200, Mikael Carneholm wrote:
>Ron Parker wrote:
>
>> No need for the #ifdef patch.
>
>What if you do this:
>
>#declare MyArray=array[3]
>#declare MyArray[0]="A"
>#declare MyArray[2]="C"
>
>How do you check if MyArray[1] is declared...?

More importantly, how do you check if MyArray[0] is a vector?
I'm not saying it wouldn't help, but you don't need it just
to get the array size, as you seemed to imply.


Post a reply to this message

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