On Mar 11, 2006, at 12:44 AM, realbasic-nug- [EMAIL PROTECTED] wrote:

Subject: Re: tab delimited text & excel, RB 5.5.5
From: "Joseph J. Strout" <[EMAIL PROTECTED]>
Date: Fri, 10 Mar 2006 20:16:52 -0700


   tis.Position = f.Length - EndOfLine.Len
   if tis.Read( EndOfLine.Line ) = EndOfLine then

HI Joe,

I'm assuming this line should read

if tis.read(endofline.len)= Endofline then

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.

thanks again

Rob



_______________________________________________
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>

Reply via email to