TAL Reference Summary

Error Messages
TAL Reference Summary
86 096256 Tandem Computers Incorporated
40 Only allowed with a variable
A bit-deposit construct is applied to a variable other than STRING or INT:
INT i;
UNSIGNED(5) uns5;
i := uns5.<13:14>; !Error 40 appears
To correct the preceding error, change the variable to STRING or INT:
INT i, var;
i := var.<13:14>;
An operation or construct that is valid only when used with a variable appears in
some other context, such as appending a bit-deposit field to an expression:
INT a, b;
(a+b).<2:5> := 0; !Error 40 appears
To correct the preceding error, assign the expression to a STRING or INT variable
and then append the bit-deposit field to the variable:
INT a, b, var;
!Code to store values in A and B
var := a + b;
var.<2:5> := 0;
41 Undefined ASSERTION procedure:
proc-name
An ASSERT statement invokes an undeclared procedure specified in an ASSERTION
directive. Either declare the procedure or specify an existing procedure in the
ASSERTION directive.