Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RTL Replacements?

Status
Not open for further replies.
I don't know if this is of any help, but I need to count how many lines I read from file with Readln.

So I created my own procedure Readln:

procedure TForm1.Readln(var F:textFile;var Line:string);
begin
Inc(Global_Line_Counter);
System.Readln(F,Line);
end;

And Global_Line_Counter has correct no. of lines I read from file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top