TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-14
Example of ABSLIST Considerations
•
Does not supply enough PEP table space in the PEP directive
•
Does not declare all procedures FORWARD
Also, if the file reaches the 64K-word limit, the compiler disables ABSLIST, starts
printing offsets from the procedure base, and emits a warning.
Example of ABSLIST Considerations
This example shows placement of the ABSLIST and PEP directives before the first
procedure declaration:
!Global declarations
?ABSLIST; PEP 60
PROC a;
BEGIN
!Lots of code
END;
ASSERTION Directive
ASSERTION invokes a procedure when a condition defined in an ASSERT statement
is true.
assertion-level
is an unsigned decimal constant in the range 0 through 32,767 that defines a
numeric relationship to an ASSERT statement
assert-level.
procedure-name
is the name of the procedure to invoke if the condition defined in an ASSERT
statement is true and the ASSERTION directive
assertion-level is less than the
ASSERT statement
assert-level. The named procedure must not have parameters.
Usage Considerations
ASSERTION can appear anywhere in the source code but not in the compilation
command. If other directives appear on the same directive line, ASSERTION must be
last on that line.
You use the ASSERTION directive with the ASSERT statement as follows:
,
VST1604.vsd
assertion-
level
ASSERTION
=
procedure-
name