--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote:
> --- swzoh wrote:
> 
> > It's me again. :-) I'm afraid that I could be too hasty again.
> > But are you sure that Test1.txt does not contain additional line
> > after the text you wrote down?
> 
> Because Test1.txt is written by PowerPro in the script, it contains
> only this:
> 
> "This['r]['n]is['r]['n]a['r]['n]test['r]['n]"
> 
> > Why I'm asking this is that because of "not file.eof(handle)" in 
For()
> > the "end line" of the handle will not be processed to "Output".
> 
> I was thinking this myself, but it turns out that File.EOF only
> returns true AFTER a ReadLine has reached the end of a file. This
> means that a 0 is returned because I am trying to read past the end 
of
> the file.

Yeh, I was too hasty again, I'm hopeless. :-)
Since I'm away from my machine again (I have no PP except PP's .chm
and .hlp files on this machine) I could not ckeck out when 'EOF'
returns. I've never worried about 'file.eof' even though I use
them frequently, because most of my files are ended
by trailing blank line. 

> What concerns me more, though, is that not both 'r and 'n are
> returned by File.ReadLine, despite reading both characters in.
> Once again, it's the 'rs and 'ns doing us in! :-)

Right. What made me confused with 'n might also be something
like this situation, I think. Uhhhhh.... MS. :-)



****  EDIT YOUR POSTINGS !!!! ****
Please remove as much as possible from original messages before replying to them.
________________________________________________ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to