Unit 'EXEC' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

Alert

Alert the user of an error

Declaration

Source position: exec.pas line 1191

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