qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CheckBreak
  ◄Crt Unit► ◄Example► ◄Contents► ◄Index►                         ◄Back►
 
  VAR
      CheckBreak : Boolean;    { state of CTRL+BREAK checking }
 
  Unit:     Crt
 
  Context:  Write, Writeln
 
  Description
 
    When used, the Crt unit installs a CTRL+BREAK handler that
    overrides the CTRL+BREAK checking done by DOS.
 
    When CheckBreak is set to True, a program will halt on the next
    Read, Readln, Write, or Writeln after CTRL+BREAK is pressed.
 
    When CheckBreak is False, CTRL+BREAK checking is disabled.
 
    Default setting is True.