HP 3000 Manuals

Use and Format of Compiler Commands [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation


SPL to HP C/XL Migration Guide

Use and Format of Compiler Commands 

          Table 10-1.  Compiler Command Format 

---------------------------------------------------------------------------------------------
|                                             |                                             |
|                     SPL                     |             HP C/XL Equivalent              |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| compiler-command:                           | compiler-directive:                         |
|                                             |                                             |
|      $command-name [parameter][,...]        |      #directive-name [parameter][...]       |
|                                             |                                             |
|      $$command-name [parameter][,...]       |                                             |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| The "$" must be in column 1.                | The "#" must be in column 1.                |
|                                             |                                             |
| The "$$" form has no HP C/XL equivalent.    |                                             |
| Ignore the second "$".                      |                                             |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| If a compiler command must be continued on  | If a directive must be continued on         |
| subsequent lines, each continued line ends  | subsequent lines, each continued line ends  |
| with "&" and the following line begins with | with "\".                                   |
| "$" in column 1.                            |                                             |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| The command may contain comments, enclosed  | The directive cannot include comments.      |
| in double angle brackets, "<<comment>>".    | They become part of the text.               |
|                                             |                                             |
---------------------------------------------------------------------------------------------

Some of the SPL compiler commands are paralleled in HP C/XL as compiler
options that are specified in the MPE XL :RUN command used to invoke the
HP C/XL compiler.

See the HP C/XL Reference Manual Supplement for further details.



MPE/iX 5.0 Documentation