POV-Ray : Newsgroups : povray.general : Empty value for variable : Re: Empty value for variable Server Time
20 Apr 2024 03:27:19 EDT (-0400)
  Re: Empty value for variable  
From: yesbird
Date: 4 Feb 2023 06:35:00
Message: <web.63de425a5d560c744ad5859710800fb2@news.povray.org>
Hi, jr.

Your answer assumes that macros can accept variable number of arguments, but
docs states following:

https://www.povray.org/documentation/3.7.0/r3_3.html#r3_3_2_8
----
3.3.2.8.2 Invoking Macros
You invoke the macro by specifying the macro name followed by a list of zero or
more actual parameters enclosed in parentheses and separated by commas. The
number of actual parameters must match the number of formal parameters in the
definition.
----

I only want to pass 'None' values to some of them to exclude their values from
object definitions, using system defaults for them and having more compact
notation finally.

Looks like it's not possible :(.
--
YB


Post a reply to this message

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