Template:Computer Programming/Error Handling/3

From Wikibooks, open books for an open world
Jump to: navigation, search

This technique does not look very nice in mathematical calculations.

Global variable[edit]

An error condition is stored inside a global variable. This variable is then read directly or indirectly via a function.