HP 3000 Manuals

HP Pascal/iX Reference Manual MPE/iX 5.0 Documentation


HP Pascal/iX Reference Manual

Table of Contents

 HP Pascal/iX Reference Manual
   HP Pascal/iX Reference Manual : COPYRIGHT NOTICE

   Ch 1.  Introduction
      Extensions to ANSI/IEEE and ISO Pascal
          Type Compatibility
             CASE Statement
             Compiler Options
             Conformant Array Parameters
             Constant Expressions
             Constructors (Structured Constants)
             Declaration Part
             Halt Procedure
             Heap Procedures
             Identifiers
             File Input/Output
             Function Return
             Longreal Numbers
             Minint
             Formal Parameter Congruency
             Record Variant Declaration
             String or Character Literals
             String Type
             WITH Statement
             Numeric Conversion Functions
             Modules

   Ch 2.  Language Elements
      Basic Symbols
      Reserved Words
      Identifiers
          Scope
      Numbers
          Integer Literals
          Real and Longreal Literals
      Comments
      Separators
      String Literals

   Ch 3.  Data Types
      Simple Types
          Ordinal
             Bit16
             Bit32
             Bit52
             Boolean
             Char
             Enumerated
             Integer
             Longint
             Shortint
             Subrange
          Real
          Longreal
      Structured Types
          ARRAY
          Array Declarations
          Multi-Dimensioned Arrays
          FILE
          Standard Textfiles
          text
          input
          output
          Record
          Field List
          Fixed Part
          Variant Part
          Set
          PACKED
          String
      Pointer Types
          Pointers
      Type Compatibility
          Identical Types
          Compatible Types
          Incompatible Types
      Assignment Compatibility
          String Assignment Compatibility

   Ch 4.  Expressions
      Operands
      Operators
          Operator Precedence
          Arithmetic Operators
          Implicit Type Conversion of Operands
          DIV
          MOD
          Boolean Operators
          AND
          NOT
          OR
          Relational Operators
          Simple Relational Operators
          Set Relational Operators
             IN
          Pointer Relational Operators
          String Relational Operators
          Concatenation Operator
          SET Operators
          Array Selector
          Record Selector
          Set Constructor
          File Buffer Selector
          Pointer dereferencing
          Function Calls

   Ch 5.  The Declaration Section
      Constant Definition
          CONST
          false
          true
          maxint
          minint
          NIL
          Array Constants and Array Constructors
          Record Constructor
          Restricted Set Constructor
          String Constructor
      Label Declaration
      Type Definition
          TYPE
      Variable Declaration
          Global Variables
          Local Variables
          Module Variables
          VAR
          Side-Effects

   Ch 6.  Statements
       Ch 6.  Statements (cont.)
          Compound Statements
          BEGIN .. END
          Empty Statements
          Assignment
          CASE
          IF .. THEN
          IF .. THEN .. ELSE
          FOR .. DO
          REPEAT .. UNTIL
          WHILE .. DO
          WITH .. DO
          GOTO
          Procedures

   Ch 7.  Program Structure
      Program Heading
      Block
      Declaration Part
      PROCEDURE
      FUNCTION
      MODULE
      EXPORT
      IMPORT
      IMPLEMENT

   Ch 8.  Procedures and Functions
      Conformance
      Directives
      FORWARD Directive
      Recursion
      Function Calls

   Ch 9.  Standard Routines
      Procedures for Allocation and Deallocation
          new
          dispose
          mark
          release
      String Procedures
          setstrlen
          strappend
          strdelete
          strinsert
          strmove
          strread
          strwrite
      String Functions
          str
          strlen
          strltrim
          strmax
          strpos
          strrpt
          strrtrim
      Transfer Procedures
          pack
          unpack
      Program Control Procedures
          halt
          assert
      MPE V Migration Routines
          baddress
          cmpbytes
          movebyteswhile
          scanuntil
          scanwhile
          waddress
      Arithmetic Functions
          abs
          arctan
          cos
          exp
          ln
          sin
          sqr
          sqrt
      Predicate Functions
          odd
      Numeric Conversion Functions
          binary
          hex
          octal
      Transfer Functions
          round
          trunc
      Ordinal Functions
          chr
          ord
          pred
          succ

   Ch 10.  Input and Output
      I/O Standard Procedures and Functions
          append
          associate
          close
          disassociate
          eof
          eoln
          get
          lastpos
          linepos
          maxpos
          open
          overprint
          page
          position
          prompt
          put
          read
             Implicit Data Conversion
          readdir
          readln
          reset
          rewrite
          seek
          write
          Formatting of Output to Textfiles
          writedir
          writeln

   Ch 11.  System Programming Extensions
      ISO
          HP_PASCAL
          HP_MODCAL
          EXT_MODCAL
      Language Elements
          Reserved Words
          Predefined Identifiers
      Data Types
          Structured Types
             CRUNCHED
          Pointer Types
             Short and Long Pointers
             Localanyptr
             Globalanyptr
             Anyptr
          PROCEDURE and FUNCTION Types
      Expressions
          Type Coercion
             Ordinal Type Coercion
             Pointer Type Coercion
             Other Type Coercion
      Declaration Section
          Constant Definition
             NIL
      Statements
          TRY-RECOVER
      Procedures and Functions
          Formal Parameters
             ANYVAR
             READONLY
          Routine Options
             DEFAULT_PARMS
             EXTENSIBLE
             INLINE
             UNCHECKABLE_ANYVAR
             UNRESOLVED
      Predefined Routines
          Addressing and Pointers
             Addr
             Addtopointer
             Buildpointer
          Move Routines
             Move_L_to_R
             Move_R_to_L
             Fast_Fill
             Move_Fast
          Error Handling Routines
             Escape
             Escapecode
          Parameter Mechanisms
             Haveextension
             Haveoptvarparm
          Routine Mechanisms
             Call
             Fcall
          Size Functions
             Bitsizeof
             Sizeof

   Ch 12.  Compiler Options
       Introduction
      System-Independent Options
          HP Standard Options
          HP Pascal Options
          System Programming Options
      System-Dependent Options
          MPE/iX Options
          HP-UX Options
          Options That Work Differently on HP-UX and MPE/iX
      System-wide File
      Compiler Option Description
         ALIAS
         ALIGNMENT
         ANSI
         ARG_RELOCATION
         ASSERT_HALT
         ASSUME
         BUILDINT
         CALL_PRIVILEGE and EXEC_PRIVILEGE
         CHECK_ACTUAL_PARM
         CHECK_FORMAL_PARM
         CODE
         CODE_OFFSETS
         CONVERT_MPE_NAMES
         COPYRIGHT
         COPYRIGHT_DATE
         ELSE
         ENDIF
         EXTERNAL
         EXTNADDR
         FONT
         GLOBAL
         GPROF
         HEAP_COMPACT
         HEAP_DISPOSE
         HP_DESTINATION
         HP3000_16
         HP3000_32
         IF
         INCLUDE
         INCLUDE_SEARCH
         INLINE
         INTR_NAME
         KEEPASMB
         LINES
         LIST
         LIST_CODE
         LISTINTR
         LITERAL_ALIAS
         LOCALITY
         LONG_CALLS
         MAPINFO
         MLIBRARY
         NLS_SOURCE
         NOTES
         OPTIMIZE
         OS
         OVFLCHECK
         PAGE
         PAGEWIDTH
         PARTIAL_EVAL
         POP
         PUSH
         RANGE
         RLFILE
         RLINIT
         S300_EXTNAMES
         SEARCH
         SET
         SHLIB_CODE
         SHLIB_VERSION
         SKIP_TEXT
         SPLINTR
         STANDARD_LEVEL
         STATEMENT_NUMBER
         STDPASCAL_WARN
         STRINGTEMPLIMIT
         SUBPROGRAM
         SYMDEBUG
         SYSINTR
         SYSPROG
         TABLES
         TITLE
         TYPE_COERCION
         UPPERCASE
         VERSION
         VOLATILE
         WARN
         WIDTH
         XREF

   Ap A. Error Messages
       Reading Error Messages
      Finding Undetected Errors
      Using This Appendix
      Messages 001-200
      Messages 201-527
      Messages 528-814
      Messages 816-7999

   Ap B. ASCII Character Codes

   Ap C. Compiler Limits and Values
   GLOSSARY
   INDEX
       Index



MPE/iX 5.0 Documentation