POV-Ray : Newsgroups : povray.advanced-users : file reading mistake : Re: file reading mistake Server Time
28 Jul 2024 16:32:38 EDT (-0400)
  Re: file reading mistake  
From: Viktor
Date: 23 Jun 2006 13:25:01
Message: <web.449c233dfd77404145bc30e10@news.povray.org>
I have another strange "read" issue. Indeed I only want to transfer
variables from one frame to another, but A LOT of them. My file goes like
this:

-0.00164469
-0.0512107
0
-0.612596
-0.609269
-0.605894
-0.602472

When I read that in, by using a simple
#read (DATA, newVar)
the line with the "0" is simply ignored - instead of the 0 being saved in
"newVar". I have to convert the lines with "0" to "-0.0" ("0.0" isn't
enough) to prevent that. Is this a feature or...?

Regards,
Viktor.


Post a reply to this message

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