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