View Single Post
  #5  
Old 09-30-2008, 04:23 PM
djudd djudd is offline
Registered User
 
Join Date: Sep 2008
Posts: 3
That does help thank you for the direction on that, I ended up using it like this:

Do While file.AtEndOfStream <> True

str = file.Readline
' Send the line with an appended CR
If instr (str, "djudd") = 0 then
crt.Screen.Send str & Chr(13)
else
end if
' Wait for my prompt before sending the next line
'crt.Screen.WaitForString "prompt$"
Loop

So it removes the first line that contains the text djudd....of course it would remove any line number, but the point is it works Thanks again I really appreciate the help, it save me from having to do this 280 times by hand.
Dennis

Last edited by djudd; 09-30-2008 at 07:32 PM.
Reply With Quote