HP Pascal/iX Programmer's Guide (31502-90023)
4-: 7
b := longint(1000000) * 1000000;
$pop$
writeln(b);
end.
Output:
8589934591
1000000000000
Predefined Modules
On both the MPE/iX and HP-UX operating systems, HP Pascal has these
predefined modules:
* stdinput
* stdoutput
On the HP-UX operating system only, HP Pascal has these additional
predefined modules:
* stderr
* arg
* pas_hp1000
In its import declaration section, your program can import any or all of
the predefined modules supported by the operating system on which it
runs.
This section shows the actual declarations in the predefined modules for
your information only. Do not include these declarations in your
program. Instead, import the predefined modules as shown on the
following page.
stdinput
The stdinput module contains the declaration for the predefined global
variable (standard textfile)
input
. It allows an independent module
(which has no program header) to use
input
. Importing the stdinput
module into an independent module is the same as declaring
input
in the
program header of a program.
The content of the predefined module stdinput is:
VAR
input : text;
stdoutput
The stdoutput module contains the declaration for the predefined global
variable (standard textfile)
output
. It allows an independent module
(which has no program header) to use
output
. Importing the stdoutput
module into an independent module is the same as declaring
output
in the
program header of a program.
The content of the predefined module stdoutput is:
VAR
output : text;
stderr
The stdrrr module contains the declaration for the predefined global
variable (standard textfile)
stderr
. It allows an independent module