POV-Ray : Newsgroups : povray.general : Macro Parameters : Re: Macro Parameters Server Time
12 Aug 2024 13:19:02 EDT (-0400)
  Re: Macro Parameters  
From: Spider
Date: 5 Feb 1999 05:35:10
Message: <36BAC834.373EB0F1@bahnhof.se>
BC wrote:
> 
> Can anyone tell me how you pass an array to a macro. I have looked at the
> docs, and they don't say you can't, but I can't figure out the syntax to do
> so.
here it is.
there is a float function to get the amount of posts in the array that
can be useful for you.
Othreways, pov doesn't care, as long as you access it as a normal array.
#mcaro(InputArray)
 //insert code
#end

//Spider


Post a reply to this message

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