how to handle reading empty file

From: news (tperzo_at_wanadoo.fr)
Date: 12/31/03


Date: Wed, 31 Dec 2003 11:33:03 +0000

hi,
I wish to read files, but also to be able to handle empty files since
so far the prog gives me a floating exception error and stops whenever
it encounters such a file.
so, I basically wish to identify an empty file, state it is empty, and
go on to the next file, the lot without crashing.

any ideas ?

many thanks!

G.



Relevant Pages

  • Re: how to handle reading empty file
    ... > I wish to read files, but also to be able to handle empty files ... > so far the prog gives me a floating exception error and stops ...
    (comp.lang.fortran)
  • Re: how to handle reading empty file
    ... > I wish to read files, but also to be able to handle empty files since ... > so far the prog gives me a floating exception error and stops whenever ... Ivan Reid, Electronic & Computer Engineering, ...
    (comp.lang.fortran)