HP 3000 Manuals

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


SPL to HP C/XL Migration Guide

$COPYRIGHT Command 

          Table 10-7.  $COPYRIGHT Command 

---------------------------------------------------------------------------------------------
|                                             |                                             |
|                     SPL                     |             HP C/XL Equivalent              |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| copyright-command:                          | copyright-pragma:                           |
|                                             |                                             |
|      $COPYRIGHT "string"[,...]              |      #pragma COPYRIGHT "string"             |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| The combined strings are written to the     | A predefined copyright notice is written to |
| object module and the compiled program as a | the object module and the compiled program, |
| copyright notice.                           | using string as the company name.           |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| SPL allows the data to be split over lines  | HP C/XL lets you split the string           |
| by having separate strings delimited by     | internally with the "\" continuation        |
| quotes and separated by commas.  "&" is the | character.  The string continues in column  |
| line continuation character.                | one of the next line.                       |
|                                             |                                             |
---------------------------------------------------------------------------------------------


NOTE The SPL command is quite different from the HP C/XL directive. In SPL, the combined strings are the copyright notice. In HP C/XL, the string is assumed to be a company name that is inserted into predefined text.


MPE/iX 5.0 Documentation