In article <MPG.214fc0d214c003a29899d0@news.sunsite.dk>,
jcoffin@taeus.com says...
[ ... ]
> No -- almost every loop of this form is fatally flawed. For this to
> work, the eofbit would need to be set as soon as you read the last
> character in the file. That's NOT what happens. Instead, the eofbit is
> set only when you try to read a character, and the last character in the
> file had previously been written.
Oops -- that should read "previously been read." Sorry 'bout that.
--
Later,
Jerry.
The universe is a figment of its own imagination.