POV-Ray : Newsgroups : povray.general : Passing file handles to macros - how? : Re: Passing file handles to macros - how? Server Time
4 Aug 2024 20:14:02 EDT (-0400)
  Re: Passing file handles to macros - how?  
From: Thorsten Froehlich
Date: 24 Apr 2003 03:49:18
Message: <3ea796fe$1@news.povray.org>
In article <cja### [at] netplexaussieorg> , 
Christopher James Huff <cja### [at] earthlinknet>  wrote:

> Yes, but macro parameters otherwise appear to be handled as references.
> There shouldn't be any copying necessary, and this would be a very
> useful feature.

No, parameters can be passed by value or reference, which is for regular
variables determined automatically.  But it cannot be done for file handles
because that would require to support for either copying file handles or
supporting counted references to file handles.

    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.