Re: READF: Input conversion error. [message #91374 is a reply to message #91373] |
Tue, 07 July 2015 08:39   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Priyadarsini Sivaraj writes:
> I have a problem again with the code above..All of a sudden, I keep getting this error,
> 'READF: End of file encountered.'
>
> At the line,
>
> 'READF, lun1, id, x, y, lat, lon'
>
> in the loop,
>
> WHILE ~EOF(lun1) DO BEGIN
> READF, lun1, id, x, y, lat, lon
> pt = [id,x,y,lat,lon]
> points = [points , pt]
> ENDWHILE
>
> What can be done to overcome this error?Please do help me.
I would say make sure the file contains what you *think* it contains.
You are probably mistaken. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|