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

Home » Public Forums » archive » READF: Input conversion error.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: READF: Input conversion error. [message #91375 is a reply to message #91374] Tue, 07 July 2015 08:53 Go to previous messageGo to previous message
Priyadarsini Sivaraj is currently offline  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. :-(
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cw_form widget offset
Next Topic: READ, adn get data into an array from LARGE SIZE FILES

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

Current Time: Fri Oct 10 09:29:15 PDT 2025

Total time taken to generate the page: 1.19506 seconds