TAL Reference Summary

Expressions
TAL Reference Summary
16 096256 Tandem Computers Incorporated
Conditional Expressions A conditional expression is a sequence of conditions and Boolean or relational
operators that establishes the relationship between values.
NOT
condition
AND
OR NOT
condition
011
condition
Relational expression Two conditions connected by a relational operator. The
result type is INT; a –1 if true or a 0 if false.
Group comparison expression
Unsigned comparison of a group of contiguous elements
with another. The result type is INT; a –1 if true or a 0 if
false.
(conditional expression) A conditional expression enclosed in parentheses. The
result type is INT; a –1 if true or a 0 if false.
Arithmetic expression An arithmetic, assignment, CASE, or IF expression that
has an INT result. The expression is treated as true if its
value is not 0 and false if its value is 0.
Relational operator A signed or unsigned relational operator that tests a
condition code. Condition code settings are CCL
(negative), CCE (0), or CCG (positive).
Assignment Expressions The assignment expression assigns the value of an expression to a variable.
expression:=
012
variable