pTAL Reference Manual (H06.08+)
Compiler Directives
HP pTAL Reference Manual—523746-006
17-19
ASSERTION
ASSERTION
ASSERTION executes a procedure when the condition specified in the active ASSERT
statement is true.
assertion-level
is an unsigned decimal constant in the range 0 through 32,767.
procedure-name
is the name of the procedure to execute if both:
•
The condition defined in the active ASSERT statement is true.
•
assertion-level is less than the assert-level in the active ASSERT
statement.
This procedure must not have parameters.
SOURCE Reads source code from another input file
SRL
1
Generates code that can be included in a user library
SUPPRESS
Suppresses all listings but the header, diagnostics, and trailer
SYMBOLS
Generates a symbol table for a symbolic debugger
SYNTAX
Checks the syntax, suppressing the object code
TARGET
3
Specifies the architecture on which the program will run
USEGLOBALS
2
Reads global data declarations and initial values from a file
WARN
Suppresses compiler warnings
Note. In the following directive topics, “Default:” identifies the default for the compiler directive
itself, not for its optional parameter(s). This default applies if a program does not contain the
compiler directive at all.
Table 17-2. Compiler Directives by Name (page 3 of 3)
Directive Operation
1. The EpTAL compiler ignores this directive.
2. The EpTAL compiler does not accept this directive.
3. The pTAL and EpTAL compilers treat this directive differently.
=
,ASSERTION
assertion-level
procedure-name
VST123.vsd










