469,646 Members | 1,136 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,646 developers. It's quick & easy.

Stream Reader Problem

Stream reader Readline returns "Nothing" if at the end of the stream.

However it also seems to return nothing if it comes across a line with
nothing in it (just a CR).

Is there any way of telling the difference

Jack Russell
Nov 21 '05 #1
4 962
Jack,

Are you asking "= nothing", which means empty or "Is nothing" which means
does not exist?

Cor
Nov 21 '05 #2
Cor Ligthert wrote:
Jack,

Are you asking "= nothing", which means empty or "Is nothing" which means
does not exist?

Cor

Thanks Col, will try that
Nov 21 '05 #3
Jack Russell wrote:
Cor Ligthert wrote:
Jack,

Are you asking "= nothing", which means empty or "Is nothing" which
means does not exist?

Cor

Thanks Col, will try that

Yup worked like a charm!
Nov 21 '05 #4
"Jack Russell" <ja***@norubbish.tpg.com.au> schrieb:
Stream reader Readline returns "Nothing" if at the end of the stream.

However it also seems to return nothing if it comes across a line with
nothing in it (just a CR).


Reading a text file line-by-line or blockwise with a progress indicator
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=readfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Leon Jollans | last post: by
6 posts views Thread by Yechezkal Gutfreund | last post: by
18 posts views Thread by JG | last post: by
10 posts views Thread by John Kraft | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.