[next] [prev] [prev-tail] [tail] [up]

#### CloseFile

Declaration:
  Procedure CloseFile(Var F: FileType);
Description:
  CloseFile flushes and closes a file F of any file type. F can be Text or a typed or untyped File variable. After a call to CloseFile, any attempt to write to the file F will result in an error.

  It is most likely introduced to avoid confusion between the regular Close (465) function and the Close method of TForm in the Delphi VCL.

Errors:
  None.
See also:
  Close (465), AssignFile (597), Reset (558), Rewrite (559), Append (452)

for an example, see AssignFile (597).

[next] [prev] [prev-tail] [front] [up]