End of file error
End of file error
- Subject: End of file error
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 15 Jan 2001 22:56:52 -0800
It seems that when a text file is completely blank, and you open it for
access and try to read it, you get an "end of file error" which can mess up
a script unless you trap it. Are there other circumstances which result in
this same error, or can it be assumed that a file is always empty? I think a
file length greater than 32K would also do it, yes? That can be tested for,
too. Anything else?
I see that Akua's 'read data from' correctly gives the result as "", rather
than an error. So perhaps it would be better to use this here.
--
Paul Berkowitz