POV-Ray : Newsgroups : povray.general : Macros and # of parameters : Re: Macros and # of parameters Server Time
6 Aug 2024 08:20:11 EDT (-0400)
  Re: Macros and # of parameters  
From:
Date: 23 Apr 2002 04:47:43
Message: <ln7acukuhlu2v8b8es434ag8ed1e2s7kok@4ax.com>
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


Post a reply to this message

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