What I have down here results in an error. Anyone know what I should do?
Thanks
- Code: Select all
function WriteFile
begin
if NumFiles = 0 then
begin
AssignFile(SendFile, 'c:\ProgramResults\3ParametersData.txt');
Rewrite(SendFile);
end
else
AssignFileSendFile, 'c:\ProgramResults\3ParametersData.txt');
writeln(SendFile, 'HELLOMOM');
closefile(Sendfile);
end;