Skip to content

Keep

Terminate and stay resident.

Declaration

Source position: dosh.inc line 134

  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.

Remark

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

Errors

None.