
Using the ReadLine method for TextStream object
hi,
i'm doing:
while (a.ReadLine != null)
{
... yadda yadda ...
Quote:
}
where a is a text stream object, and the file being read is a few lines
long; the statments execute just fine, but after finishing reading the
last line of the text file, I get the error "Input past end of file"...
What does this mean, and what do I need to do in order to fix this?
Thanks!
-Dana
Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.