pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Contents
About This Document...................................................................................16
Supported Release Version Updates (RVUs)................................................................................16
Intended Audience..................................................................................................................16
New and Changed Information................................................................................................16
New and Changed Information for 523746–009...................................................................16
New and Changed Information for 523746–008...................................................................18
New and Changed Information for 523746–007...................................................................19
Document Organization..........................................................................................................19
Notation Conventions..............................................................................................................20
Syntax Diagram Conventions...............................................................................................20
General Syntax Notation....................................................................................................23
Notation for Messages.......................................................................................................25
Notation for Management Programming Interfaces.................................................................26
Related Information.................................................................................................................26
Publishing History...................................................................................................................29
HP Encourages Your Comments................................................................................................29
1 Introduction to pTAL..................................................................................30
pTAL and TAL Compatibility.....................................................................................................30
EpTAL, pTAL, and TAL Compilers...............................................................................................30
pTAL Applications...................................................................................................................31
pTAL Features.........................................................................................................................32
Procedures........................................................................................................................32
Subprocedures..................................................................................................................32
Private Data Area..............................................................................................................32
Recursion..........................................................................................................................33
Parameters........................................................................................................................33
Data Types........................................................................................................................33
Data Grouping..................................................................................................................33
Pointers.............................................................................................................................34
Data Operations................................................................................................................34
Bit Operations...................................................................................................................34
Built-in Routines.................................................................................................................34
Compiler Directives............................................................................................................34
Modular Programming.......................................................................................................34
System Services......................................................................................................................34
System Procedures..................................................................................................................34
pTAL and the CRE...................................................................................................................34
2 Language Elements...................................................................................36
Character Set.........................................................................................................................36
Keywords..............................................................................................................................37
Delimiters..............................................................................................................................38
Operators..............................................................................................................................39
Base Address Symbols............................................................................................................40
Indirection Symbols.................................................................................................................41
Declarations..........................................................................................................................41
Identifiers..........................................................................................................................42
Variables..........................................................................................................................43
Scope..............................................................................................................................43
Typed Integer Constants..........................................................................................................44
Statements.............................................................................................................................45
Contents 3