TAL Reference Manual
Error Messages
Appendix A—526371.001
A-39
176
STRING .s[0:79];
INT i:= 1;
INT j:= 1;
CALL p1 ($OPTIONAL (i < 9, s:i), !Parameter pair
$OPTIONAL (j > 2, j) ); !Parameter
END;
176
The called procedure declares a parameter pair, but the caller does not specify a
parameter pair as the second argument to $OPTIONAL. Replace the incorrect
argument with a parameter pair to match the specification in the called procedure. See
the example shown for Error 175.
177
A conditional expression that does not evaluate to an INT expression appears as the
first argument to $OPTIONAL. Correct the conditional expression so that it evaluates to
an INT expression. See the example shown for Error 175.
178
.i.$OPTIONAL not allowed (error178)
$OPTIONAL appears in a call to a procedure that is not VARIABLE or EXTENSIBLE.
Remove $OPTIONAL from the CALL statement or declare the called procedure as
VARIABLE or EXTENSIBLE. See the example shown for Error 175.
179
toggle-name is used before it is created. Create the named toggle in a DEFINETOG,
RESETTOG, or SETTOG directive before using the toggle in an IF, IFNOT, or ENDIF
directive.
The second argument of $OPTIONAL must be a string parameter
pair
The first argument of $OPTIONAL must be a 16-bit integer
expression
$OPTIONAL allowed only in calls to VARIABLE or EXTENSIBLE
procedures
Undefined toggle:
toggle-name