HP 3000 Manuals

Identifiers [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation


SPL to HP C/XL Migration Guide

Identifiers 

          Table 3-18.  Identifiers 

---------------------------------------------------------------------------------------------
|                                             |                                             |
|                     SPL                     |             HP C/XL Equivalent              |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| An identifier consists of one to 15 letters | An identifier consists of one to 255        |
| ("A" to "Z" and "a" to "z"), digits ("0" to | letters ("A" to "Z" and "a" to "z"), digits |
| "9"), and apostrophes ("'"), starting with  | ("0" to "9", and underscores ("_"),         |
| a letter.                                   | starting with a letter or underscore.       |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| Upper- and lowercase letters are            | Upper- and lowercase letters are not        |
| equivalent.                                 | equivalent.                                 |
| The identifier VAR2 is the same as var2.    | The identifier VAR2 is different from var2. |
|                                             |                                             |
---------------------------------------------------------------------------------------------
|                                             |                                             |
| Identifiers longer than 15 characters are   | Identifiers longer than 255 characters are  |
| truncated on the right.                     | invalid.                                    |
|                                             |                                             |
---------------------------------------------------------------------------------------------

Change apostrophe, "'", to underscore, "_", in identifiers.

Make sure that any SPL identifiers over 15 characters long do not become
"unique" due to the extra characters.  For example, these two
identifiers,

     A23456789012345
     A23456789012345B

are the same in SPL but different in HP C/XL.



MPE/iX 5.0 Documentation