BSD 3 development
[unix-history] / usr / src / cmd / pascal / how_pix
CommitLineData
dffb67e8
BJ
1To translate and execute a program with pix, place the source in a file
2whose name ends in the characters ".p", i.e. "prog.p". The command
3 pix prog.p
4will translate the program into interpreter code which will be then be executed
5If there are compilation errors `E', then execution will be suppressed.
6To create a permanent "obj" file which you can interpret, use "pi".
7Type "pi" for basic information on pi.
8
9The complete command line syntax for pix is
10 pix [ -blnpstuw ] [ -i file ... ] name.p [ arg ... ]
11Here the trailing arguments are passed to your Pascal program.
12This command is equivalent to
13 pi [ -blnpstuw ] [ -i file ... ] name.p
14and then
15 px scratch [ arg ... ]
16where scratch is a temporary file which is then removed.
17
18The command "man pi" will give information as to the options of pix.
19Refer to the UNIX Pascal User's Manual for more details.