HP Pascal for OpenVMS
Software
Product
Description
PRODUCT NAME: HP Pascal For OpenVMS
SPD 25.11.55
DESCRIPTION
This document addresses HP Pascal Version 6.0 for
OpenVMS Alpha, HP Pascal Version 5.8 for OpenVMS
VAX, and HP Pascal Version 6.0 for OpenVMS Integrity
Servers (I64).
HP Pascal is an implementation of the Pascal language
that accepts programs compatible with either level of
the ISO specification for Programming languages - Pas-
cal ([ISO 7185-1987]) as well as (ANSI/IEEE 770X3.97-
1987). HP Pascal also meets the Federal Informa-
tion Processing Standard Publication ((FIPS-109)) re-
quirements by accepting programs conforming to the
ANSI standard. HP Pascal also accepts many features
from the Extended Pascal standard ((ANSI/IEEE 770X3.
160-1989) and (ISO 10206)).
The compiler has been validated for both levels of the
ISO unextended Pascal standard and for conforming to
FIPS-109. Containing extensions to the standards, HP
Pascal generates optimized, shareable code that takes
full advantage of the VAX, Alpha and Itanium hardware
floating point and character instruction sets and the vir-
tual memory capabilities of the OpenVMS VAX, Alpha
and I64 Operating Systems. The language contains
control statements, data types, and predeclared proce-
dures and functions.
Major Pascal Language Elements:
• INTEGER, REAL, CHAR, BOOLEAN, enumerated,
and subrange data types
• ARRAY, RECORD, SET, and FILE structured data
types
K.Jensen and N. Birth ,Pascal User Manual and Report,2nd.ed., Spring-Verlag,
New York 1974.
• Schemata type denoting families of types
• STRING schema denoting variable-length character
strings up to 65,535 characters
• FOR, REPEAT, and WHILE repetitive control state-
ments
• CASE, IF-THEN, and IF-THEN-ELSE conditional
statements
• BEGIN...END compound statement
• User-defined procedures and functions that can re-
turn structured types (other than file types)
• GET, PUT, READ, WRITE, READLN, and WRITELN
input and output procedures
• Concatenation operator and set of predefined char-
acter string functions including INDEX, LENGTH, and
SUBSTR
• Standard set of functions, procedures, and operators
• Module initialization and finalization
• Initial state specification
• Enhanced structured value constructors
• Implementation characteristics (MAXCHAR, MINREAL,
MAXREAL, EPSREAL)
• OTHERWISE clause and case ranges for CASE
statement and variant records
• Date and Time functions and procedures
• Short Circuit Boolean Operators (AND_THEN and
OR_ELSE)
• Non-Decimal representation of numbers
• Exponentiation operator (**)
August 2006