[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here

HP Pascal for OpenVMS
Language Reference Manual


Begin Index

Contents (summary)
Preface Preface
Chapter 1 Language Elements
Chapter 2 Data Types and Values
Chapter 3 Declaration Section
Chapter 4 Expressions and Operators
Chapter 5 Statements
Chapter 6 Procedures and Functions
Chapter 7 Program Structure and Scope
Chapter 8 Predeclared Functions and Procedures
Chapter 9 Input and Output Processing
Chapter 10 Attributes
Chapter 11 Directives
Appendix A Data Storage and Representation
Appendix B Summary of HP Pascal Extensions
Appendix C Description of Implementation Features
Appendix D Compiler and Run-Time System Error Detection
  Glossary
  Index
  Figures
  Examples
  Tables


Contents


Preface
Preface Preface
Chapter 1
1 Language Elements
     1.1     Pascal Language Standards
         1.1.1         Unextended Pascal Standards
         1.1.2         Extended Pascal Standard
     1.2     Lexical Elements
         1.2.1         Character Set
         1.2.2         Special Symbols
         1.2.3         String Delimiters
         1.2.4         Embedded String Constants
         1.2.5         Reserved Words
         1.2.6         Identifiers
     1.3     Comments
     1.4     Page Breaks and Form Feeds in Programs
Chapter 2
2 Data Types and Values
     2.1     Ordinal Types
         2.1.1         Integer Types
             2.1.1.1             INTEGER and INTEGER64 Types
             2.1.1.2             UNSIGNED and UNSIGNED64 Types
             2.1.1.3             Integer Literals
             2.1.1.4             INTEGER_ADDRESS Type
         2.1.2         CHAR Type
         2.1.3         BOOLEAN Type
         2.1.4         Enumerated Types
         2.1.5         Subrange Types
     2.2     Real Types
     2.3     Pointer Types
         2.3.1         POINTER Type
     2.4     Structured Types
         2.4.1         ARRAY Types
             2.4.1.1             ARRAY Components
             2.4.1.2             ARRAY Constructors
         2.4.2         RECORD Types
             2.4.2.1             Records with Variants
             2.4.2.2             Record Constructors
         2.4.3         SET Type
             2.4.3.1             Set Constructors
         2.4.4         FILE Type
         2.4.5         TEXT Type
         2.4.6         Nonstandard Constructors
             2.4.6.1             Nonstandard Array Constructors
             2.4.6.2             Nonstandard Record Constructors
     2.5     Schema Types
     2.6     String Types
         2.6.1         PACKED ARRAY OF CHAR Types
         2.6.2         VARYING OF CHAR Types
         2.6.3         STRING Schema Type
     2.7     Null-Terminated Strings
     2.8     TIMESTAMP Type
     2.9     Static and Nonstatic Types
     2.10     Type Compatibility
         2.10.1         Structural Compatibility
         2.10.2         Assignment Compatibility
Chapter 3
3 Declaration Section
     3.1     CONST Section
     3.2     LABEL Section
     3.3     TO BEGIN DO Section
     3.4     TO END DO Section
     3.5     TYPE Section
     3.6     VALUE Section
     3.7     VAR Section
Chapter 4
4 Expressions and Operators
     4.1     Expressions
     4.2     Operators
         4.2.1         Arithmetic Operators
         4.2.2         Relational Operators
         4.2.3         Logical Operators
         4.2.4         String Operators
         4.2.5         Set Operators
         4.2.6         Type Cast Operator
         4.2.7         Precedence of Operators
     4.3     Structured Function-Return Values
     4.4     Type Conversions
Chapter 5
5 Statements
     5.1     Assignment Statement
     5.2     BREAK Statement
     5.3     CASE Statement
     5.4     Compound Statement
     5.5     CONTINUE Statement
     5.6     Empty Statement
     5.7     FOR Statement
     5.8     GOTO Statement
     5.9     IF Statement
     5.10     Procedure Call
     5.11     REPEAT Statement
     5.12     RETURN Statement
     5.13     WHILE Statement
     5.14     WITH Statement
Chapter 6
6 Procedures and Functions
     6.1     Routine Declarations
     6.2     Routine Calls
     6.3     Parameters
         6.3.1         Value Parameters
         6.3.2         Variable Parameters
         6.3.3         Routine Parameters
         6.3.4         Passing Predeclared Functions to Formal Function Parameters
         6.3.5         Foreign Parameters
         6.3.6         Schema Parameters
         6.3.7         Conformant Parameters
             6.3.7.1             Conformant Array Parameters
             6.3.7.2             Conformant VARYING Parameter
             6.3.7.3             Conformant Parameter Sections
         6.3.8         Parameter Association
         6.3.9         Default Formal Parameters


Previous Next Contents Index