I am using Writeln for create a text file in delphi 5 and packing it to 628 charactors
The writeln option adds a CRLF at the end of each line (as far as I have read)
error .. On some computers the last line looses the CRLF
txtline := 'Testline1';
l := length(txtline)
for i := l to 628 do begin
txtline := txtline + ' ';
end;
txtline := 'Testline2';
l := length(txtline)
for i := l to 628 do begin
txtline := txtline + ' ';
end;
any suggestions how I can fix this
Start Free Trial