CALC
Command
AEDIT-86 User's
Guide
7-2
L
.........
:
~.---n_.-
..
temen-t
~
8trin~con.tant
r--.
Notes:
• n_statement, s_statement : n stands for numeric, s stands for string.
• LeIement, r_element : I stands for left, r stands for right.
• Uppercase and lowercase letters are not distinguished from each other except in
string constants. For example, curpos and
CURPOS
are interchangeable.
• One or more blanks may be inserted between tokens. However, when
no
ambigu-
ity
is
possible, blanks are not required. For example, 1 + 2
is
a legal expression.
•
Ni,
Si,
N(.
..
), S(.
..
) : the value of i and the value of the expression within the
parentheses should be
in
the range 0-9.
•
The value true is represented by
-1;
i.e., OFFFFFFFFH, and the value false
is
represented by
O.
Whenever an operator produces a logical (Boolean) value,
that
value
is
either true
or
false.
• unary_operator: see Table 7-1.
• binary_operator: see Table 7-1.
• AEDIT_numeric_IocaLvariable : described in Chapter
6.
• numeric_constant: see Section 7.3.
•
strin~constant
: see Section 7.4.