POV-Ray : Newsgroups : povray.advanced-users : #write(outfile,chr(0)) doesn't work. A bug? : #write(outfile,chr(0)) doesn't work. A bug? Server Time
2 Nov 2024 11:27:00 EDT (-0400)
  #write(outfile,chr(0)) doesn't work. A bug?  
From: Nieminen Juha
Date: 20 Oct 1999 10:49:11
Message: <380dd667@news.povray.org>
I was trying to make a pov script which could create its own .df3 file.
However, this seems to be impossible since for some reason povray refuses
to write the value 0 to the file. Every other value (1-255) can be written
but not 0.
  What's going on here? Is it a bug or an intentional feature?

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