HP Pascal/iX Programmer's Guide (31502-90023)

B- 3
setenv PASXDATA
n
or the command:
PASXDATA=
n
export PASXDATA
Maxpos The call
maxpos(f)
returns
maxint
, regardless of
f
.
Open options The third parameter of the predefined file-opening
procedures
append, associate, open, read, reset,
rewrite,
and
write
. It is optional for all but
associate
, for which it must have one of the
values listed in "Associate Procedure" .
Ord At the STANDARD_LEVEL 'EXT_MODCAL'
ord
allows
short pointers as arguments.
Output The standard program parameter and textfile
output
is
stdout
.
Stderr
The standard program parameter and textfile
stderr
is the HP-UX file
stderr
.
System intrinsic file ../../sys/pub/sysintr
System default module /usr/lib/paslib
library
Temporary files
If the environment variable TMPDIR is defined (as
a path to a directory to hold temporary files),
temporary files are placed in that directory;
otherwise, temporary files are created in the
directory
/usr/tmp
. (See the standard HP-UX entry
point
tempdir(2)
.)
Write If the file being written is a terminal, the
output is unbuffered. This means that
write
to a
terminal has the same behavior as
prompt
.
HP-UX Extensions
HP-UX extensions are available only to programs that are compiled by the
HP Pascal compiler running on the HP-UX operating system. The programs
themselves must also run on the HP-UX operating system. The HP-UX
extensions are:
* Access to special global variables through the EXTERNAL directive.
* The predefined function
get_alignment
, which returns the alignment
requirement of a given type or variable.
* The predefined function
statement_number
, which returns the
statement number of the statement that calls it.
Accessing Special Global Variables
The global variable
errno
is special in that a program can access it
through the EXTERNAL directive.
Example
$EXTERNAL$