Hi all.
Here's the code.
Procedure TTail.DoTheTail;
var
InFile, Outfile: Text;
TextRead: array of String;
TextLine: String;
i: integer;
begin
// Set the size of TextRead;
SetLength(TextRead, LineCount);
// Open the two files
Assign(InFile, '');
...
And the compiler tells me...
Error: Wrong number of parameters specified for call to "Assign"
Er... From what I can see in rtl help one of the overloaded versions of assign() is...
procedure Assign(
out t: Text;
const s: String
);
So, folks, what the $^&*&%* have I misunderstood?
Simon.