pTAL Reference Manual (H06.03+)
Compiler Directives
HP pTAL Reference Manual—523746-005
17-18
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.
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










