[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'Dos' (#rtl)

Keep

Terminate and stay resident.

Declaration

Source position: dosh.inc line 139

procedure Keep(

  exitcode: Word

);

Description

Keepterminates the program, but stays in memory. This is used for TSR (Terminate Stay Resident) programs which catch some interrupt. ExitCodeis the same parameter as the Haltfunction takes.

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

Errors

None.