First page Back Continue Last page Graphics
Automatic Variable Scope
Variables defined within a function come into being when the function is invoked.
They expire when the function terminates.
Previous values are lost when a new invocation occurs.
To prevent this, add the static keyword to the front of the definition.
e.g.: