SPL to HP C/XL Migration Guide (30231-90001)

10- 7
$INCLUDE Command
Table 10-8. $INCLUDE Command
---------------------------------------------------------------------------------------------
| | |
| SPL | HP C/XL Equivalent |
| | |
---------------------------------------------------------------------------------------------
| | |
|
include-command
: |
include-directive
: |
| | |
| $INCLUDE
filename
| 1. #include "
filename
" |
| | |
| | 2. #include <
filename
> |
| | |
---------------------------------------------------------------------------------------------
| | |
| The text from
filename
is inserted in the | Same as SPL. |
| source stream at the point of the $INCLUDE | |
| command. | |
| | |
---------------------------------------------------------------------------------------------
| | |
| A full file-id is
filename
.
group
.
account
. | Form 1 is the same as SPL, except that the |
| If ".
account
" or ".
group
.
account
" is | default group and account is that of the |
| omitted, it defaults to the logon group and | source file, and HP C/XL will continue the |
| account. | search in other groups and accounts. |
| | |
| | See the
HP C/XL Reference Manual Supplement
|
| | for a complete description of the file |
| | search algorithm. |
| | |
| | Form 2 implies that the file was supplied |
| | with the system. The default group is H |
| | and the default account is SYS. |
| | |
---------------------------------------------------------------------------------------------
MPE Commands
Many of the MPE V commands described in Chapter 10 of the
Systems
Programming Language Reference Manual
are identical to MPE XL commands.
However, the commands required to compile and run an HP C/XL program are
different in name and parameters from those used for SPL. Please consult
the
HP C/XL Reference Manual Supplement
for the commands and parameters
you will need.