Sign in Join
FPDoc Onlineexperiment

SetCBreak procedure

In unit Dos

Set Control-Break flag status.

Declaration

pascal
procedure SetCBreak(breakvalue: Boolean)

Description

SetCBreak sets the status of CTRL-Break checking. When BreakValue is false, then Dos only checks for the CTRL-Break key-press when I/O is performed. When it is set to True, then a check is done at every system call.

Under non-Dos and non-Amiga operating systems, this call does nothing.

Errors

None.

See also

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