pTAL Reference Manual (H06.08+)
Compiler Directives
HP pTAL Reference Manual—523746-006
17-30
ERRORFILE
ERRORFILE
ERRORFILE writes compilation errors and warnings to an error file so you can use the
HP TACL FIXERRS macro (available only on Guardian platforms) to view the
diagnostic messages in one PS Text Edit window and correct the source file in another
window.
file-name
is the name of either:
•
An existing error file created by ERRORFILE. Such a file has file code 106 (an
entry-sequenced disk file used only with the HP TACL FIXERRS macro). The
compiler purges any data in it before logging errors and warnings.
•
A new error file to be created by ERRORFILE if errors occur.
If a file with the same name exists but the file code is not 106, the compiler
terminates compilation to prevent overwriting the file.
Default: None
Placement:
•
Anywhere in the source file (not in the compilation command)
•
Must be the only directive on the directive line
Scope: Everything between ENDIF and the most recently compiled IF or IFNOT
directive that specifies the same toggle, target, or keyword
Dependencies: Interacts with:
•
DEFINETOG
•
SETTOG
•
RESETTOG
•
IF
•
IFNOT
•
TARGET
See Toggles
on page 17-5.
References:
•
DEFINETOG on page 17-27
•
IF and IFNOT on page 17-39
•
RESETTOG on page 17-54
•
SETTOG on page 17-58
•
TARGET on page 17-68
file-name
define-name
assign-name
ERRORFILE
VST137.vsd










