To refer to a variable which is located in a subsection the relative path to the variable starting at the current section can also be used, e.g.,
Section7
{ Section8
{ x = 1;
Section9
{ y = 3;
}
c = x + Section9.y; // relative path to the variables `x' and `y'
}
b = Section8.Section9.y; // relative path to variable `y'
}
a = Section7.Section8.c // relative path to variable `c
If a variable is defined outside of the current section, the circumflex (^) can be used to step up one section. Therefore, the example of Section A.4.1.1 can also be written as
a = 1;
x = a;
Section5
{ b = 2;
Section6
{ c = ^b; // -> 2
d = ^^a; // -> 1
}
}
Robert Klima 2003-02-06