POV-Ray : Newsgroups : povray.general : Automatically named identifiers : Re: Automatically named identifiers Server Time
21 Nov 2024 05:07:39 EST (-0500)
  Re: Automatically named identifiers  
From: Kenneth
Date: 7 Nov 2024 11:55:00
Message: <web.672cef10523ee18491c33a706e066e29@news.povray.org>
kurtz le pirate <kur### [at] freefr> wrote:
> On 06/11/2024 21:45, Kenneth wrote:
>
> >
> > It would be an interesting exercise to try and re-code the macro itself,
> > to see if [the Parse_String macro] could be made to deal with multiple
> > entries...and to create multiple written .tmp files as well.
> >
>
> Have you looked my method ?
>

Oh! You already solved that, wow. And *without* creating multiple .tmp files. I
apologize for not grasping what what your code does; I took only a cursory
glance at it while I was working out my own tests. (The beginning of your code
kind of threw me off...
       // name of include file containing splines
          #declare FileName = "Splines.inc";

I mistakenly thought that you were somehow manipulating the *original*
splines.inc include file; sorry!)

So your code actually writes *multiple* #declares to the same .tmp file (called
Splines.inc), to be used later. Excellent.

Thanks for (re-)calling my attention to it. ;-)

-----
BTW: Sorry, Thomas, for calling you Warren. I don't know where *that* came from!
:-O


Post a reply to this message

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