Re: READF: Input conversion error. [message #91373 is a reply to message #91326] |
Tue, 07 July 2015 08:28   |
Priyadarsini Sivaraj
Messages: 15 Registered: June 2015
|
Junior Member |
|
|
On Monday, 29 June 2015 14:26:34 UTC-4, Priyadarsini Sivaraj wrote:
> On Monday, 29 June 2015 14:05:23 UTC-4, David Fanning wrote:
>> Priyadarsini Sivaraj writes:
>>
>>>
>>> This is the output for the print statement.
>>> ID X Y Lat Lon
>>>
>>> Yes, I understand the fault.Is there any way that I can skip this line..?
>>
>> Well, let me put it this way: you skipped the first 12 lines
>> successfully. :-)
>>
>> 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.")
> Oh well..That is the trick..!!!Thank you sir..!!1
Hello everyone..
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.
|
|
|