At 12:14 AM -0500 3/12/06, Robert Carroll wrote:
if tis.Read( EndOfLine.Line ) = EndOfLine then
I'm assuming this line should read
if tis.read(endofline.len)= Endofline then
Yep, that was a typo -- good catch.
I have this working with:
t1.PositionB = f.Length - EndOfLine.Len
if t1.Read( EndOfLine.Len ) <> EndOfLine then
t.writeline "" //add the missing end of line character
end
It looks like textinputstreams only have a positionB (in bytes)
property. is this a potential problem with f.length or EndofLine.len
? The latter is counting characters I think.
You're right. That being the case, you should be using
EndOfLine.LenB rather than Len.
Best,
- Joe
--
Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>