Sign in Join
FPDoc Onlineexperiment

FileClose procedure

In unit sysutils

Close a file handle.

Declaration

pascal
procedure FileClose(Handle: THandle)

Description

FileClose closes the file handle Handle. After this call, attempting to read or write from the handle will result in an error.

For an example, see FileCreate

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.