Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

Alert

Alert the user of an error

Declaration

Source position: exec.pas line 1870

procedure Alert(

  AlertNum: LongWord

);

Arguments

AlertNum

  

A number indicating the particular alert. -1 is not a valid input.

Description

Alerts the user of a serious system problem. This function will bring the system to a grinding halt, and do whatever is necessary to present the user with a message stating what happened. Interrupts are disabled, and an attempt to post the alert is made. If that fails, the system is reset. When the system comes up again, Exec notices the cause of the failure and tries again to post the alert.

If the Alert is a recoverable type, this call MAY return.

This call may be made at any time, including interrupts.


Documentation generated on: 2021-07-30