$SET Command (Software Switches for Conditional Compilation) [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation
SPL to HP C/XL Migration Guide
$SET Command (Software Switches for Conditional Compilation)
Table 10-4. $SET Command
---------------------------------------------------------------------------------------------
| | |
| SPL | HP C/XL Equivalent |
| | |
---------------------------------------------------------------------------------------------
| | |
| set-command: | Emulated with the #define directive: |
| | |
| $SET [Xn={OFF | #define Xn {OFF |
| ON}][,...] | ON} |
| | |
| | [...] |
| | |
---------------------------------------------------------------------------------------------
| | |
| The ten switches, X0,...,X9, used for | The #define directive emulates the $SET |
| conditional compilation are initially set | command. |
| to OFF. | |
| | The syntax above assumes that you have |
| They are turned ON and OFF with the $SET | defined the ten switches and the values ON |
| command. | and OFF at the beginning of the compilation |
| | unit, as follows: |
| | |
| | #define ON 1 |
| | #define OFF 0 |
| | #define X0 OFF |
| | ... |
| | #define X9 OFF |
| | |
---------------------------------------------------------------------------------------------
MPE/iX 5.0 Documentation