ENTRY Declaration [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation
SPL to HP C/XL Migration Guide
ENTRY Declaration
Table 4-7. ENTRY Declaration
---------------------------------------------------------------------------------------------
| | |
| SPL | HP C/XL Equivalent |
| | |
---------------------------------------------------------------------------------------------
| | |
| entry-declaration: | No equivalent. |
| | |
| ENTRY label-id [,...] ; | |
| | |
---------------------------------------------------------------------------------------------
You may emulate multiple entry points into an SPL program by using the
argc, argv, parm, and info parameters of the HP C/XL main function, and
coding a switch statement to goto the appropriate labels. (See "SWITCH
Declaration" above for the format.) In HP C/XL, you may pass arguments
to these parameters with the INFO= and PARM= parameters of the MPE XL
:RUN command.
MPE/iX 5.0 Documentation