POV-Ray : Newsgroups : povray.advanced-users : Evaluating macro result in array initialization : Re: Evaluating macro result in array initialization Server Time
26 Apr 2024 19:13:21 EDT (-0400)
  Re: Evaluating macro result in array initialization  
From: Alessio Sangalli
Date: 13 Dec 2021 13:59:21
Message: <61b79809$1@news.povray.org>
On 02-Aug-21 00:38, jr wrote:

> works, did same recently.  try putting the call into parentheses (force another
> round of expr eval), ie:
> 
> array mixed [2][5] {
>    {"text", (Macro(0.00, 0.90)), ....

I'd put the extra parenthesis in the Macro body instead of the caller, 
less chances to forget when using.


Post a reply to this message

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