POV-Ray : Newsgroups : povray.general : Macros and # of parameters : Re: Macros and # of parameters Server Time
19 Nov 2024 05:37:39 EST (-0500)
  Re: Macros and # of parameters  
From: Dan Byers
Date: 23 Apr 2002 21:53:23
Message: <B8EB79FE.C088%goofygrafx@aol.com>

at abx### [at] babilonorg wrote on 4/23/02 3:47 AM:

> On Mon, 22 Apr 2002 21:26:22 -0500, Dan Byers <goo### [at] aolcom> wrote:
>> The docs don't give any upper limit to the number of parameters that can be
>> passed, but when I tried to pass 42 parameters (don't ask why), POV-Ray for
>> DOS puked after the 19th one.  Is it a DOS thing, or is it a POV-Ray thing?
>> Not a major deal, more of an inconvenience.  Any thoughts, let me know...
>> thanks :)
> 
> Thorsten told you an answer. If you want more parameters you can pass them as
> array (when one type), as array of one-ellement arrays when different types.
> Of course you can also pass them via global identifiers or via creation of
> include file included inside macro. So there is many solutions.
> 
> ABX

Thanks for your answers, guys.  I used the array to fix it.  My life can
continue now ;)

-- 
dan
http://hometown.aol.com/goofygrafx


Post a reply to this message

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