POV-Ray : Newsgroups : povray.general : File handles for output streams : Re: File handles for output streams Server Time
29 Jun 2025 12:14:12 EDT (-0400)
  Re: File handles for output streams  
From: Chris R
Date: 19 Jun 2025 09:40:00
Message: <web.685412f5964d40ce4d6accde5cc1b6e@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Chris R" <car### [at] comcastnet> wrote:
> > I am working on some macros to generate .inc files based on some long-running
> > calculations to avoid having to do those calculations on every render.  I'd like
> > to make them generic enough so I can write to the console as well as to a file,
> > but it doesn't look like there are built-in file handles that can be used with
> > #write for the debug or any other output streams.
> >
> > Am I missing something, or do I need to do some kludgy things to allow for both
> > options?
> >
> > -- Chris R
>
> All I'm aware of are
> #debug
> #warning
> #error
>
>
> -BW
Thanks.  I'll work around it.

Follow-up question: it appears you can't pass file handles as parameters to
macros.  No tricks for that either?

-- Chris R


Post a reply to this message

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