POV-Ray : Newsgroups : povray.advanced-users : Evaluating macro result in array initialization : Re: Evaluating macro result in array initialization Server Time
11 Aug 2022 20:35:26 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-2021 Persistence of Vision Raytracer Pty. Ltd.