Technical data
Compiler Directives
2-41
adds a new parameter, N, at the end of an existing block with the name and
current value of an existing variable as shown in Figure 2-3. It returns the
block value.
Figure 2-3: Parameter Added to Existing Record
Scoping
The structure of the %with directive is:
%with expression
%endwith
The %with directive adds a new scope to be searched onto the current list of
scopes. This directive makes it easier to refer to block-scoped variables. For
example,
RTW file:
System {
Name "foo"
}
To access the Name parameter without a %with statement, use:
%<System.Name>
or using %with, use:
%with System
%<Name>
%endwith
Block {
.
.
.
N500
}
New Parameter