Technical data
2 
Working with the Target Language
2-14
This statement would cause an error if foo was undefined.
Table 2-3: Target Language Expressions
Expression Definition
constant
Any constant parameter value, including 
vectors and matrices.
variable-name Any valid in-scope variable name, including 
the local function scope, if any, and the global 
scope.
::variable-name Used within a function to indicate that the 
function scope is ignored when looking up the 
variable. See “Identifier Definition” on page 
2-37.
expr[expr] Index into an array parameter. Array indices 
range from 
0 to N–1. This syntax is used to 
index into vectors, matrices, and repeated 
scope variables.
expr([expr[,expr]…]) Function call or macro expansion. The 
expression outside of the parentheses is the 
function/macro name; the expressions inside 
are the arguments to the function or macro. 
Note: Since macros are text-based, they 
cannot be used within the same expression as 
other operators.
expr. expr The first expression must be a valid scope; 
the second expression is a parameter name 
within that scope.
(
expr) Use () to override the precedence of 
operations.
!
expr Logical negation (always generates 1 or 0 as 
in C). The argument must be numeric or 
Boolean.










