Answer
Notice that the READ statement is slightly different. In addition to
specifying the unit to read (7), and the format statement to use (200), we
specify ``IOSTAT=ERROR''. This is the key to dealing with the end of file
condition.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu