Re: READF: Input conversion error. [message #91375 is a reply to message #91374] |
Tue, 07 July 2015 08:53   |
Priyadarsini Sivaraj
Messages: 15 Registered: June 2015
|
Junior Member |
|
|
On Tuesday, 7 July 2015 11:39:52 UTC-4, David Fanning wrote:
> 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.")
Yes.My file does contain all the necessary information. The exact code snippet has worked earlier.Now, I am not able to deduce what could be the fault. :-(
|
|
|