Keep (procedure) (Dos unit)

Language:
Русский
English

 Keep (procedure)     (Dos unit)


Keep (or Terminate Stay Resident) terminates the program and makes it stay in memory.

Declaration

 procedure Keep(ExitCode: Word);

Target

Real, Protected

Remarks

The entire program stays in memory--including data segment, stack segment, and heap--so be sure to specify a maximum size for the heap using the $M compiler directive. The ExitCode corresponds to the one passed to the Halt standard procedure.

Restrictions

Use with care! Terminate-and-stay-resident (TSR) programs are complex and no other support for them is provided. See the DOS technical documentation for more information.

See Also

Sample Code

Тэги: Keep
| G+
Код для вставки: :: :: :: ::
Поделиться: // //