1

Pascal Compiler

The name of the Pascal compiler is pc. If given an argument file name ending with .p or .pas, pc compiles the file and leaves the result in an executable file, called a.out by default.

Features

Pascal includes many extensions to the standard, including the following:

•Separate compilation of programs and modules

•dbx (symbolic debugger) support

•Optimizer support

•Multiple label, const, type, and var declarations

•Variable-length character strings

•Compile-time initializations

•static and extern declarations

•Different sizes of integer and real data types

•Integer constants in any base, from 2 to 16

•Extended input/output facilities

•Extended library of built-in functions and procedures

•Universal and function and procedure pointer types

•Direction of parameter passing: into a routine, out of a routine, or both

•Functions that return structured-type results

Note – For other release-specific information, please refer to the README file that accompanies the product release.

Compatibility

In general, Pascal 4.0 runs in the Solaris 2.x or above operating environment. This product is not compatible with /usr/ucblib/libucb.a on the Solaris 2.x environment.

2

Pascal 4.0 User’s Guide

Page 26
Image 26
HP SunSoft Pascal 4.0 manual Pascal Compiler, Features, Compatibility