TAL Reference Manual

Expressions
TAL Reference Manual526371-001
4-23
Group Comparison Expression
Group Comparison Expression
The group comparison expression compares a variable with a variable or constant.
var1
is the identifier of a variable, with or without an index, that you want to compare to
var2, constant, or constant-list. var1 can be a simple variable, array, simple pointer,
structure, structure data item, or structure pointer, but not a read-only array.
relational-operator
is one of the following operators:
Signed relational operator: <, =, >, <=, >=, <>
Unsigned relational operator: '<', '=', '>', '<=', '>=', '<>'
All comparisons are unsigned whether you use a signed or unsigned operator.
var2
is the identifier of a variable, with or without an index, to which var1 is compared.
var2 can be a simple variable, array, read-only array, simple pointer, structure,
structure data item, or structure pointer.
VST0408.vsd
relational operatorvar1
var2 FOR count
count-
unit
next-
addr
->
constant list
constant
constant
[
]