SYSINTR [ HP Pascal/iX Reference Manual ] MPE/iX 5.0 Documentation
HP Pascal/iX Reference Manual
SYSINTR
SYSINTR is an HP Pascal Option.
The SYSINTR compiler option specifies the intrinsic file that the
compiler searches for information on intrinsic routines.
Syntax
$SYSINTR [string]$
Parameter
string Specifies the name of the intrinsic file that the compiler
must search for information about intrinsic routines.
Default System intrinsic file (see the HP Pascal/iX Programmer's
Guide or the HP Pascal/HP-UX Programmer's Guide.)
Location Anywhere.
NOTE The pc option +C on HP-UX affects the SYSINTR compiler option (see
the HP Pascal/HP-UX Programmer's Guide.)
Example
PROGRAM Show_Intrinsic (Input,Output);
TYPE
LogArray = ARRAY [1..80] OF shortint;
PROCEDURE FCheck;
INTRINSIC; {FCheck comes from the system intrinsic file}
$SYSINTR 'MYINTR'$
PROCEDURE FWrite;
INTRINSIC; {FWrite comes from MYINTR}
$SYSINTR$
FUNCTION FRead ( FileNum : shortint;
VAR Target : LogArray;
TCount : shortint) : shortint;
INTRINSIC; {This FRead description is compared to the one
in the system intrinsic file.}
Table 12-2 compares SPLINTR (SPL) and SYSINTR (HP Pascal) formats.
Neither format can be converted to the other automatically. For
instructions on conversion by hand, see the HP Pascal/iX Migration Guide
or the HP Pascal/HPUX Migration Guide.
Table 12-2. SPLINTR Format vs SYSINTR Format
----------------------------------------------------------------------------------------------
| | | |
| | Pascal/V | HP Pascal in Native Mode |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| Creation | BUILDINT utility (independent | BUILDINT compiler option |
| | of Pascal/V) | (in HP Pascal) |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| Result | SPLINTR (SPL) format file | SYSINTR (HP Pascal) format file |
| | | |
----------------------------------------------------------------------------------------------
| | | |
| Access | $SPLINTR 'file'$, where file is | $SYSINTR 'file'$, where file is |
| | in SPLINTR (SPL) format | in SYSINTR (HP Pascal) format |
| | | |
----------------------------------------------------------------------------------------------
MPE/iX 5.0 Documentation