A.4.1 Referring to Variables

To refer to a variable which is defined within the same section only its (short) name can be given:

a = 5;
Section4
{  a = 10;
   b = a;
}

In this example variable b in section Section4 refers to variable a in section Section4. Therefore, the value of the variable b equals 10.

Sections can be built up in a nested manner similar to a directory tree. If a variable must be referred to from another section than the current one, the path of the respective variable must be specified. This path can be given absolutely or relatively.



Unterabschnitte
Robert Klima 2003-02-06