BUILDINT [ HP Pascal/iX Reference Manual ] MPE/iX 5.0 Documentation
HP Pascal/iX Reference Manual
BUILDINT
BUILDINT is an HP Pascal Option.
The BUILDINT compiler option causes the compiler to build an intrinsic
file.
Syntax
$BUILDINT [string]$
Parameter
string Specifies the name of the intrinsic file that the compiler
builds. If the specified file exists and is an intrinsic
file, entries are added to it. If it exists, but is not an
intrinsic file, it is an error. If the file does not
exist, it is created (see the HP Pascal/iX Programmer's
Guide or the HP Pascal/HP-UX Programmer's Guide).
Default System intrinsic file.
Location At front.
The compiler adds an entry to the intrinsic file for each routine
declaration in the compilation unit. If the compilation unit declares a
routine with the same name as a routine that is already in the intrinsic
file, the new routine declaration replaces the old one.
The compilation unit can contain constant, type, and variable
declarations and procedure and function headings, but not routine bodies
or a nonempty outer block. Each routine must be designated external
(with the EXTERNAL directive). The compiler does not generate code for
the compilation unit.
NOTE The pc option +C on HP-UX affects the BUILDINT compiler option (see
the HP Pascal/iX Programmer's Guide or the HP Pascal/HP-UX
Programmer's Guide).
Example
$BUILDINT 'MYINTR'$
PROGRAM Show_Buildint;
TYPE
Smallint = -32768..32767;
ByteArray = PACKED ARRAY [1..80] OF CHAR;
RecType = RECORD
F1 : Integer;
F2 : ByteArray;
END;
PROCEDURE Proc1 ( P1 : Smallint;
P2 : Integer;
VAR P3 : ByteArray;
VAR P4 : RecType;
P5 : Real
);
EXTERNAL;
FUNCTION Func1 (P1 : Real) : Integer;
EXTERNAL;
BEGIN
{Empty outer block}
END.
The BUILDINT compiler option is used with the LISTINTR and SYSINTR
compiler options. See the HP Pascal/iX Programmer's Guide or the HP
Pascal/HP-UX Programmer's Guide, depending on your implementation, for
details.
MPE/iX 5.0 Documentation