Jump to content

Template:Computer Programming/Error Handling/3

From Wikibooks, open books for an open world

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.