The section which contains all variables and sections is called root
section. A full name of a variable is
defined by the path which starts at the root section and its name.
The root section is denoted by the tilde symbol
(~). The path may consist of an arbitrary
number of section names separated by a dot.
For instance (considering the previous example) the full name of the variable
a in the section Section4 is ~Section4.a whereas
the full name of the global variable a is ~a.
Another example:
a = 1;
x = ~a;
Section5
{ b = 2;
Section6
{ c = ~Section5.b; // -> 2
d = ~a; // -> 1
}
}
Robert Klima 2003-02-06