HP 3000 Manuals

DATASEG Declaration and Reference [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation


SPL to HP C/XL Migration Guide

DATASEG Declaration and Reference 

          Table 4-10.  DATASEG Declaration and Reference 

-----------------------------------------------------------------------------------------------
|                                               |                                             |
|                      SPL                      |             HP C/XL Equivalent              |
|                                               |                                             |
-----------------------------------------------------------------------------------------------
|                                               |                                             |
| dataseg-declaration:                          | No equivalent.                              |
|                                               |                                             |
|      DATASEG dataseg-name = dataseg-num       | The concept of extra data segments does not |
|                                               | exist in HP C/XL.                           |
|      BEGIN                                    |                                             |
|                                               |                                             |
|      type dataseg-variable [= dataseg-offset] |                                             |
|                                               |                                             |
|      ...                                      |                                             |
|                                               |                                             |
|      END ;                                    |                                             |
|                                               |                                             |
-----------------------------------------------------------------------------------------------

Remove the DATASEG declaration and convert the variables in the BEGIN-END
block to normal HP C/XL variables.



MPE/iX 5.0 Documentation