Sign in Join
FPDoc Onlineexperiment

GetCBreak procedure

In unit Dos

Get control-Break flag.

Declaration

pascal
procedure GetCBreak(var breakvalue: Boolean)

Description

GetCBreak gets the status of CTRL-Break checking under Dos and Amiga. 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, BreakValue always returns True.

Errors

None

See also

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