POV-Ray : Newsgroups : povray.bugreports : #debug, #render ... windows : Re: #debug, #render ... windows Server Time
23 Jun 2024 15:22:20 EDT (-0400)
  Re: #debug, #render ... windows  
From: Nieminen Mika
Date: 26 Mar 1999 08:14:54
Message: <36fb884e.0@news.povray.org>
Spider <spi### [at] bahnhofse> wrote:
: but to my irritation, a line isn't updated with new
: output unless I add a "\n" to the output.

  This means that the outputting is buffered, just like outputting to
standard output in any programming language.
  In programming languages the solution to this is to flush the stdout
stream after outputting the text. AFAIK there's no way to flush text
streams in povray other than outputting a "\n".

  How about a new feature: #flush <stream>, where <stream> can be
'debug', 'render', 'warning', etc...
  For example:

#warning "This is a warning"
#flush warning

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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