BSD 3 development
[unix-history] / usr / man / man1 / px.1
CommitLineData
3b849d50
CH
1.TH PX 1 4/8/79
2.UC
3.SH NAME
4px \- Pascal interpreter
5.SH SYNOPSIS
6.B px
7[ obj [ argument ... ] ]
8.SH DESCRIPTION
9.I Px
10interprets the abstract machine code generated by
11.I pi.
12The first argument is the file to be interpreted, and defaults
13to
14.IR obj \|;
15remaining arguments are available to the Pascal program using the
16built-ins
17.I argv
18and
19.I argc.
20.I Px
21is also invoked by
22.I pix
23when running `load and go'.
24.PP
25If the program terminates abnormally an error message and a
26control flow backtrace are printed.
27The number of statements executed and total execution time
28are printed after normal termination.
29The
30.B p
31option of
32.I pi
33suppresses all of this except the message indicating the cause
34of abnormal termination.
35.SH FILES
36.DT
37obj default object file
38.br
39pmon.out profile data file
40.SH "SEE ALSO"
41Berkeley Pascal User's Manual
42.br
43pi(1), pix(1)
44.SH DIAGNOSTICS
45Most run-time error messages are self-explanatory.
46Some of the more unusual ones are:
47.HP 6
48Reference to an inactive file
49.br
50A file other than
51.I input
52or
53.I output
54was used before a call to
55.I reset
56or
57.I rewrite.
58.HP 6
59Statement count limit exceeded
60.br
61The limit of 500,000 executed statements
62(which prevents excessive looping or recursion)
63has been exceeded.
64.HP 6
65Bad data found on integer read
66.br
67.ns
68.HP 6
69Bad data found on real read
70.br
71Usually, non-numeric input was found for a number.
72For reals, Pascal requires digits before and after the decimal
73point so that numbers like `.1' or `21.' evoke the second diagnostic.
74.HP 6
75panic:
76.I "Some message"
77.br
78Indicates a internal inconsistency detected in
79.I px
80probably due to a Pascal system bug.
81.SH AUTHORS
82Charles B. Haley, William Joy, and Ken Thompson
83.br
84VAX-11 version by Kirk McKusick
85.SH BUGS
86Post-mortem traceback is not limited;
87infinite recursion leads to almost infinite traceback.