TAL Reference Manual
TAL Syntax Summary (Bracket-and-Brace Diagrams)
Appendix C—526371.001
C-5
Expressions
constant-list-seq has the form:
{ constant }
{
repetition-constant-list }
[ , {
constant } ] ...
{
repetition-constant-list }
Expressions
The following syntax diagrams describe:
•
Arithmetic expressions
•
Conditional expressions
•
Assignment expressions
•
CASE expressions
•
IF expressions
•
Group comparison expressions
•
Bit extractions
•
Bit shifts
Arithmetic Expressions
An arithmetic expression is a sequence of operands and arithmetic operators that
computes a single numeric value of a specific data type.
Conditional Expressions
A conditional expression is a sequence of conditions and Boolean or relational
operators that establishes the relationship between values.
Assignment Expressions
The assignment expression assigns the value of an expression to a variable.
[ + ] operand [ [ arithmetic-operator operand ] ... ]
[ - ]
[ NOT ] condition [ [ { AND } [ NOT ] condition ] ... ]
{ OR }
variable := [ variable := ] ... expression