POV-Ray : Newsgroups : povray.advanced-users : #write(outfile,chr(0)) doesn't work. A bug? : Re: #write(outfile,chr(0)) doesn't work. A bug? Server Time
30 Jul 2024 08:14:51 EDT (-0400)
  Re: #write(outfile,chr(0)) doesn't work. A bug?  
From: Nieminen Juha
Date: 21 Oct 1999 05:21:47
Message: <380edb2b@news.povray.org>
Ron Parker <par### [at] fwicom> wrote:
: Sounds like a bug to me.  I'd wager that #write uses fprintf, which will
: terminate when it sees the zero.

  Why it doesn't print it like: fprintf(file,"%c",value);

-- 
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.