POV-Ray : Newsgroups : povray.programming : ATT: POV team and everyone - POV4 design proposal : Re: ATT: POV team and everyone - POV4 design proposal Server Time
28 Jul 2024 20:21:55 EDT (-0400)
  Re: ATT: POV team and everyone - POV4 design proposal  
From: Christopher James Huff
Date: 14 Jan 2002 12:49:25
Message: <chrishuff-8956A5.12500714012002@netplex.aussie.org>
In article <61l54ukl1i71rrrnq1i4ih3l5kndn2a3m1@4ax.com>,
 W?odzimierz ABX Skiba <abx### [at] babilonorg> wrote:

> No problem with Parse_String as include file so #macro is not needed.

Parse_String() is itself a macro, and uses a temporary file internally. 
And I don't think he said he didn't want to use a macro, but that he 
wanted to pass one macro to another. Parse_String() would allow him to 
pass the macro name, though it would be slower. A better alternative 
might be to write the temp file in the macro itself, and then just 
include it for each macro call, avoiding a bunch of redundant file 
writes, but that still requires use of a temp file.

The method I've always used was to use a "user definable" macro that the 
main macro will call (I think I provided an example in another message). 
Still slower in some situations, but it doesn't require temporary files.

-- 
 -- 
Christopher James Huff <chr### [at] maccom>


Post a reply to this message

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