HP Pascal/HP-UX Release Notes Version A.10.08
Chapter 1 39
New and Changed Features
Environment Variables Used by HP Pascal/HP-UX
PATH
To invoke pc, set PATH to include /opt/pascal/bin.
PASRUNOPTS
PASRUNOPTS is a new Pascal runtime variable that determines how
the runtime library processes floating-point number string format. This
variable can be used to increase the portability of PASCAL to other
languages and vendors.
Description
The table for this variable (see Table 1-5) is divided into three columns;
currently only column 1 is supported. The value specified in column 1
determines what exponent is printed for LONGREAL output. It also
selects what exponent is valid for LONGREAL and REAL input.
Exponent Values
Table 1-5 Exponent Values
NOTE The way the compiler recognizes its constants is not affected (i.e., only
"L" is valid for LONGREAL).
Value Exponent Output
Allowable Exponent
Input
E
The value in column 1 of
PASRUNOPTS is E.
E
Example of output is
1.23E+12.
E or D
Example of valid input is
1.23E+12 or 1.23D+12
Default
The default situation
pertains when
PASRUNOPTS is either
not defined or is defined
with any value other
than E.
L
Example of exponent output is
1.23L+12.
E or L
Example of valid input is
1.23E+12 or 1.23L+12.