Sign in Join
FPDoc Onlineexperiment

AddExitProc procedure

In unit System

Add an exit procedure to the exit procedure chain.

Declaration

pascal
procedure AddExitProc(Proc: TProcedure)

Description

AddExitProc adds Proc to the exit procedure chain. At program exit, all procedures added in this way will be called in reverse order.

Errors

None.

See also

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