Sign in Join
FPDoc Onlineexperiment

InitProc constant

In unit System

Initialization routine.

Declaration

pascal
InitProc: CodePointer = Nil

Description

InitProc is a routine that can be called after all units were initialized. It can be set by units to execute code that can be initialized after all units were initialized.

When setting the value of InitProc, the previous value should always be saved, and called when the installed initialization routine has finished executing.

See also

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