noway123
2012-02-09 19:53:36
Hi.
Whenever i call this procedure i want to write into a new line in my data.txt but this procedure only adds a String in data.txt without going into a new line. Any help :P ?
Noway123
Whenever i call this procedure i want to write into a new line in my data.txt but this procedure only adds a String in data.txt without going into a new line. Any help :P ?
procedure WriteToFile(YourText: String);
Var
FName: String;
x: Integer;
begin
FName := 'Data.txt';
AppendFile(FName);
OpenFile(FName,true);
WriteFileString(x, YourText+' ### ');
CloseFile(x);
end; Noway123