POV-Ray : Newsgroups : povray.beta-test : file input - doc bug, i/o bug or tom bug? : Re: file input - doc bug, i/o bug or tom bug? Server Time
2 Nov 2024 07:25:29 EDT (-0400)
  Re: file input - doc bug, i/o bug or tom bug?  
From:
Date: 4 Jan 2002 09:16:41
Message: <12eb3usbtoehrsumk43ejs5h203dbl4gh7@4ax.com>
On Fri, 4 Jan 2002 14:05:30 -0000, "Tom Melly" <tom### [at] tomandlucouk> wrote:
> According to the docs (6.2.3.4)  "hello", 1,2 ought to be a valid input line from a
file (string, float, float)
> However, this generates an error, which is fixed by: "hello", 1,2, (requires final
comma)

works according to doc for me

do you read in loop ? perhaps there is one extra reading according to your while
condition

check this source

#fopen wfile "nothing.txt" write
#write( wfile , chr(34) , "hello" , chr(34) , ",1,2" )
#undef wfile
#fopen wfile "nothing.txt" read
#read( wfile , S, F1,F2 )
#warning S
#warning str(F1,0,0)
#warning str(F2,0,0)

> 2.5.beta9.icl.win32

please upgrade to 3.5 ;-)

ABX


Post a reply to this message

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