Sign in Join
FPDoc Onlineexperiment

Keep procedure

In unit Dos

Terminate and stay resident.

Declaration

pascal
procedure Keep(exitcode: Word)

Description

Keep terminates the program, but stays in memory. This is used for TSR (Terminate Stay Resident) programs which catch some interrupt. ExitCode is the same parameter as the Halt function takes.

This call does nothing, it is present for compatibility only.

Errors

None.

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