error
Displays a custom error message and ends execution.
Syntax
error(A)
Inputs
- A
- String message to be displayed.
Example
Error with message:
A = 10
error('ERROR MESSAGE %d NUMBER', A)
Error: ERROR MESSAGE 10 NUMBER
Displays a custom error message and ends execution.
error(A)
Error with message:
A = 10
error('ERROR MESSAGE %d NUMBER', A)
Error: ERROR MESSAGE 10 NUMBER