2.2.5.1 The static variable qualifier

This is a problematic qualifier in the respect that it works differently
even for variables depending on where they are! Global variables, to
begin with, are (as you know) variables that are defined in the top of
the file outside any function. These variables are available in all
functions i.e. their scope is object-wide, not just limited to one
function.

It is possible to save all global variables in an object with a special
efun (described later). However, if the global variable is declared as
static, it is not saved along with the rest.

static string TempName; // A non-saved global var.

This document was generated
by Ronny Wikh on July, 8 2003
using texi2html