comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: erratic EOF encountered when reading in similar data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: erratic EOF encountered when reading in similar data [message #44699] Wed, 13 July 2005 10:49
Y.T. is currently offline  Y.T.
Messages: 25
Registered: December 2004
Junior Member
Only generic ideas: how about DOS vs UNIX file types, where the one
might not recognize the line-end character of the other?

Before your EOF line, could you put something like
if EOF(lun1) then stop, "oops"
and then examine the last line of "header" to see whether it might be
different from what you expect? Something like
print,byte(header[9])
and then make sure it's as long as you thought and has the right couple
characters at the end?

I'd like to note that "DATA' appears to be as long as your data set, so
using "while" doesn't really look to me as if it made sense. You really
only ever want to read the array once, right?

cordially


Y.T.

--
Remove YourClothes before you email me.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: no grayscale on PCL printer
Next Topic: TV, channel and postscript file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 16:39:26 PDT 2025

Total time taken to generate the page: 1.51840 seconds