POV-Ray : Newsgroups : povray.general : Passing file handles to macros : Re: Passing file handles to macros Server Time
6 Aug 2024 04:23:58 EDT (-0400)
  Re: Passing file handles to macros  
From: Rune
Date: 25 May 2002 10:40:36
Message: <3cefa264@news.povray.org>
John VanSickle wrote:
> I was having a bit of trouble with a macro, and
> learned that file handles cannot be passed to macros.
>
> As things stand, the only work-around is to pass the
> file name, and have the macro open the file, or to
> specify a global handle for the macro to use.

I also think you could use the parse_string macro in POV-Ray 3.5 to
parse a string containing the file handle name if I have understood your
problem correctly.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:  http://rsj.mobilixnet.dk (updated May 20)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Ring:  http://webring.povray.co.uk


Post a reply to this message

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