POV-Ray : Newsgroups : povray.general : Problem with file #read  : Re: Problem with file #read Server Time
30 Jul 2024 02:22:02 EDT (-0400)
  Re: Problem with file #read   
From: Adam
Date: 27 Jan 2010 04:05:11
Message: <4b6001c6@news.povray.org>
Thomas de Groot wrote:

> 
> "Adam" <ahc### [at] ihugconz> schreef in bericht
> news:4b5fee46@news.povray.org...
>>[...]
>> #write(MyFile,"\"ShapesA\",",xf1,",",xf2,",",xf3,",",xf4,",",xf5"\n")
>>[...]
> 
> I think there is a " missing after ShapesA\" in the line above. It should
> probably be:
> 
> #write(MyFile,"\"ShapesA\"",",xf1,",",xf2,",",xf3,",",xf4,",",xf5"\n")
> 
> I don't know if this will fix the problem though.
> 
> Thomas

No, as written does make sense. And the file #write works OK 
to disk. After the #write section a file appears containing; 
"ShapesA",4.3,5.3,6.3,7.3,8.3     as expected. 

I remain baffled that the #read doesn't load the string and floats.


Post a reply to this message

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