
-----------------------------------
unpiledacorn
Fri Apr 28, 2006 7:54 am

?? Attempt to read past eof ??
-----------------------------------
Could some1 please  explain to me what "attempt to read past eof is suppose to mean,  n possible ways to solve it in a array pogram. :D

-----------------------------------
codemage
Fri Apr 28, 2006 8:32 am


-----------------------------------
past eof means that you're reading data in from a file, you get to the end of the file... and then you keep trying to read more data.

You need to do an 
exit when eof (datafile id)

so that you stop getting input when there's none left to get.
