POV-Ray : Newsgroups : povray.general : macros returning values : Re: macros returning values Server Time
5 Aug 2024 14:11:33 EDT (-0400)
  Re: macros returning values  
From: Christoph Hormann
Date: 6 Sep 2002 12:18:17
Message: <3D78D549.AE541171@gmx.de>
Ernst Fritsch wrote:
> 
> [...]
> Parsing
> of a scene stopped because I had to put a ";" at the end of a directive that
> looked like this:
> 
> #local value = macro()
> 
> I tried
> 
> #local value = macro();
> 


> function but I guess you know what I mean).

You will have to post the code you are using, this is not a general
problem, things like:

#macro XX(test) 
  test
#end 

#declare YY=XX(0); 
#declare ZZ=<XX(0), 0, 0>; 

work perfectly.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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