ex88.pp 262 B

1234567891011121314
  1. Program Example88;
  2. { Program to demonstrate the AssignFile and CloseFile functions. }
  3. {$MODE Delphi}
  4. Var F : text;
  5. begin
  6. AssignFile(F,'textfile.tmp');
  7. Rewrite(F);
  8. Writeln (F,'This is a silly example of AssignFile and CloseFile.');
  9. CloseFile(F);
  10. end.