pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Table 1 Summary of Contents (continued)
This chapter . . .Chapter
Describes equivalenced variables. Equivalencing lets you
declare more than one identifier and description for a
location in a storage area.
Chapter 11: Equivalenced Variables
Describes statements. Statements — also known as
executable statements — perform operations in a program.
Chapter 12: Statements
They can modify the program’s data or control the
program’s flow.
Describes hardware indicators. Includes managing overflow
traps, hardware indicators after assignments, hardware
Chapter 13: Hardware Indicators
indicators in conditional expressions, nesting condition
code tests, and using hardware indicators across
procedures.
Describes procedures, which are program units that contain
the executable portions of a pTAL program and that are
callable from anywhere in the program.
Chapter 14: Procedures, Subprocedures, and Procedure
Pointers
Describes built-in routine calls whose results do not depend
on the values of variables and can be used wherever
constant values are allowed.
Chapter 15: Built-In Routines
Describes how to compile and link pTAL programs. Input
to the compiler is a source file containing pTAL source text
Chapter 16: Compiling and Linking pTAL Programs
(such as data declarations, statements, compiler directives,
and comments). Output from the compiler is a linkfile
consisting of relocatable code and data blocks. To produce
an executable pTAL program, you link one or more linkfiles
into a single loadfile.
Describes how to specify compiler directives. You can
specify compiler directives either in the compilation
Chapter 17: Compiler Directives
command or in a directive line in the source code, unless
otherwise specified. The compiler interprets and processes
each directive at the point of occurrence.
Describes the optional pTAL cross compiler that runs on
PC platforms.
Chapter 18: pTAL Cross Compiler
Provides a summary of syntax for data types, constants,
expressions, declarations, statements, overflow traps,
built-in routines, and compiler directives.
Appendix A: Syntax Summary
For Guardian platforms only, describes disk file names and
HP TACL commands.
Appendix B: Disk File Names and HP TACL Commands
Describes the differences between the pTAL and EpTAL
compilers.
Appendix C: Differences Between the pTAL and EpTAL
Compilers
Describes RETURN, RETURNSCC, and C/C++ on TNS/E.
Read this appendix if you write or call pTAL procedures
Appendix D: RETURN, RETURNSCC, and C/C++ on
TNS/E
that return both a traditional function value by means of
the RETURN statement and an unrelated condition code
value by means of the RETURNSCC attribute.
Notation Conventions
Syntax Diagram Conventions
This manual presents syntax in railroad diagrams. Here is a generic railroad diagram:
20