Template:Computer Programming/Error Handling/3
Appearance
This technique does not look very nice in mathematical calculations.
Global variable
[edit source]An error condition is stored inside a global variable. This variable is then read directly or indirectly via a function.