PX(1) BSD General Commands Manual PX(1)NAMEpx — Pascal interpreter
SYNOPSISpx [obj [argument ...]]
DESCRIPTION
Px interprets the abstract machine code generated by pi(1). The first
argument is the file to be interpreted, and defaults to obj; remaining
arguments are available to the Pascal program using the built-ins argv
and argc. Px is also invoked by pix when running `load and go'.
If the program terminates abnormally an error message and a control flow
backtrace are printed. The number of statements executed and total exe‐
cution time are printed after normal termination. The p option of pi
suppresses all of this except the message indicating the cause of abnor‐
mal termination.
FILES
obj default object file
pmon.out profile data file
SEE ALSOpi(1), pix(1)
Berkeley Pascal User's Manual.
DIAGNOSTICS
Most run-time error messages are self-explanatory. Some of the more
unusual ones are:
Reference to an inactive file
A file other than input or output was used before a call to reset
or rewrite.
Statement count limit exceeded
The limit of 500,000 executed statements (which prevents exces‐
sive looping or recursion) has been exceeded.
Bad data found on integer read
Bad data found on real read
Usually, non-numeric input was found for a number. For reals,
Pascal requires digits before and after the decimal point so that
numbers like `.1' or `21.' evoke the second diagnostic.
panic: Some message
Indicates an internal inconsistency detected in px probably due
to a Pascal system bug.
HISTORY
The Px comman appeared in 3.0BSD.
BUGS
Post-mortem traceback is not limited; infinite recursion leads to almost
infinite traceback.
3rd Berkeley Distribution August 7, 1991 3rd Berkeley Distribution