POV-Ray : Newsgroups : povray.beta-test : semicolon not expected : Re: semicolon not expected Server Time
30 Jul 2024 04:16:32 EDT (-0400)
  Re: semicolon not expected  
From: Thorsten Froehlich
Date: 7 Jan 2002 10:47:00
Message: <3c39c2f4@news.povray.org>
In article <3c39a9ef@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>   Isn't the "right way" of returning values from a macro something like:
>
> #macro Test2() #if(yes) #local res=2; #end res #end

Hmm, what do the docs say about this?  Maybe it should be made clear that
only data appearing in the macro block itself is considered a return
value...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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