This guide explains how to use the Silicon Graphic Pascal compiler. Two assumptions are made of the Pascal programmer using the IRIS programming environment:
You are fluent in the Pascal language.
You are comfortable with the IRIX tools that exist on the IRIS.
This guide contains the following chapters and appendices:
Chapter 1, “Pascal Implementation,” lists and describes the set of extensions that are supported by the Pascal compiler on the IRIS. The 1.2 Pascal Release Notes provide a detailed list of changes from the ANSI standard.
Chapter 2, “Compiling, Linking, and Running Pascal Programs,” lists specific commands for compiling, linking, and running Pascal programs on the IRIS-4D. It also explains the tools used in each command procedure.
Chapter 3, “Storage Mapping,” explains storage mapping of Pascal arrays, records, and variant records. Aslo discussed are alignment, size and value ranges for the various data types.
Chapter 4, “Pascal/C Interface,”describes how to use command line options to optimize PFA execution. It also describes the Pascal/C coding interface. The Fortran 77 Programmer's Guide describes the Pascal/Fortran interface.
To write Pascal graphics and other programs in the IRIS-4D programming environment, the programmer uses these tools:
Write and run your Pascal programs according to the procedure listed below. For specific instructions about each step, refer to the chapter or document named in that step.
Write programs using the Pascal implementation described in Chapter 1 of this guide.
Use graphics routines according to the rules in the Graphics Library Programming Guide and the man pages for the routines.
Compile, link, and run the programs as described in Chapter 2 of this guide.
Debug the programs using dbx.
Optimize the programs as described in the IRIS-4D Series Compiler Guide.
There is additional information in this manual that can be useful when you write programs:
The following documents contain information relevant to PFA:
IRIS-4D Series Compiler Guide, Silicon Graphics, Inc., document number 007-0905-030.
This guide uses the following notation and syntax conventions: