Audience

This guide was prepared for software engineers who write Pascal programs on a SPARCstation. It assumes you are familiar with ISO standard Pascal and the Solaris™ operating system.

Organization

This guide contains the following chapters:

Chapter 1, “Introduction,” gives basic information about the Pascal compiler and related program development tools.

Chapter 2, “Pascal Programs,” describes how to write, compile, and run a Pascal program.

Chapter 3, “The Pascal Compiler,” describes the pc command and its

options.

Chapter 4, “Program Construction and Management,” is an introduction to how complex programs are built in Pascal.

Chapter 5, “Separate Compilation,” describes how programs can be divided into several units, and how they are compiled and linked.

Chapter 6, “The C–Pascal Interface,” describes how to write programs that

are partly in C and partly in Pascal.

Chapter 7, “The C++–Pascal Interface,” describes how to write programs that are partly in C++ and partly in Pascal.

Chapter 8, “The FORTRAN–Pascal Interface,” describes how to write programs that are partly in FORTRAN and partly in Pascal.

Chapter 9, “Error Diagnostics,” describes the errors you may encounter while writing programs with Pascal.

Chapter 10, “The XView Toolkit,” describes how to use the XView toolkit with Pascal.

Chapter 11, “Math Libraries,” describes how to use the libm and libsunmath functions in Pascal programs.

Appendix A, “Pascal Preprocessor,” describes the Pascal preprocessors, with emphasis on the nonstandard preprocessor, cppas.

xx

Pascal 4.0 User’s Guide