POV-Ray : Newsgroups : povray.advanced-users : array-macro : Re: array-macro Server Time
30 Jul 2024 06:25:04 EDT (-0400)
  Re: array-macro  
From: Roland Vansteenkiste
Date: 29 Dec 1999 00:30:25
Message: <38699c88.1090748@news.povray.org>
On Tue, 28 Dec 1999 12:06:48 -0800, Jerry <jer### [at] acusdedu> wrote:

>In article <386908a5.2657716@news.povray.org>, 
>rol### [at] pingbe (Roland Vansteenkiste) wrote:
>
>>Tying to create a macro that use a array I've a problem.
>>Having the following code
>>
>>#declare Numberofdigits = 10
>>#declare digits = 1,20,10,4,5,3,87,8,21,4  
>>
>>How can I put this variable number of digits into an array?
>>
>>Roland
>>
>
>#declare myDigits = array[Numberofdigits] {
>  1,20,10,4,5,3,87,8,21,4
>}
>
>Jerry

Thanks Jerry, but I knew that answer. The meaning is that Pov does the
job and not me.  How can I Pov make read the numbers and put them into
the array


Post a reply to this message

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