Compiling the Program

8

Running the Program

9

Renaming the Executable File

9

An Interactive Pascal Program

10

Compiling the Program

11

Running the Program

11

Redirecting I/O

11

Using a File Name as a File Variable

12

Where Did My Program Fail?

13

Using Pascal Traceback

13

Using a Sample Program with Segmentation Violation . . .

14

3. The Pascal Compiler

17

pc Version Number

17

Compile and Link Sequence

18

Language Preprocessor

19

File Name Extensions Accepted By pc

20

Option-Passing on the Command-Line

21

Option-Passing in the Program Text

21

Options

23

–a

24

–Bbinding

24

–b

24

-bsdmalloc

25

–C

25

iv

Pascal 4.0 User’s Guide

Page 4
Image 4
HP SunSoft Pascal 4.0 manual Pascal Compiler