|
Re: problem is ther in my progam how to solve this problem [message #71608 is a reply to message #71606] |
Wed, 30 June 2010 05:52  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
hari krishna writes:
> i am using for & while loops to read the data of multiple files of
> single fit. i wrote program of multi files in one fit. number of files
> is 32. But program reads 7 files and after not not open the files.
> error message is READF: End of file encountered. Unit: 100, Execution
> halted at: $MAIN$ .
> please send me how to solve this problem
You solve this problem by reexamining the assumptions
you are making about the data files. (The assumption
I would consider first is "All the data files are
the same.") Then, you use print statements and breakpoints
until you understand the ground truth enough to be able
to come up with another set of (probably faulty) assumptions.
The process is called "programming". :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: problem is ther in my progam how to solve this problem [message #71611 is a reply to message #71608] |
Wed, 30 June 2010 01:22  |
Maxwell Peck
Messages: 61 Registered: February 2010
|
Member |
|
|
On Jun 30, 5:28 pm, hari krishna <ahkreddy...@gmail.com> wrote:
> i am using for & while loops to read the data of multiple files of
> single fit. i wrote program of multi files in one fit. number of files
> is 32. But program reads 7 files and after not not open the files.
> error message is READF: End of file encountered. Unit: 100, Execution
> halted at: $MAIN$ .
> please send me how to solve this problem. thank you viewers
Did you open up the eighth file to see if there's anything wrong with
it??
|
|
|