sysRuntimeError

Displays a runtime error message and terminates the program. Takes message (error message to display). Returns nothing (function does not return - program terminates immediately).

System

Parameters & Returns

Parameters

message String

Returns

Void

Quick Summary

Displays a runtime error message and terminates the program. Takes message (error message to display). Returns nothing (function does not return - program terminates immediately).

Technical Exegesis...

Shows an error message box with the specified message and immediately terminates the program with exit code 1. If message is NULL, displays "Runtime Error". The message box has a red error icon (MB_ICONERROR) and title "Runtime Error".

Uses MessageBoxA to display the error and ExitProcess(1) to terminate immediately. This function does not return - program execution stops when called. Useful for reporting fatal errors or assertion failures that cannot be recovered from.

Example

Example.bam
; No example implemented yet