HP 3000 Manuals

$INCLUDE Command [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation


SPL to HP C/XL Migration Guide

$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/iX 5.0 Documentation