NM callable only.
Sets the condition code for the calling process.
Operation Notes |
 |
The condition code is implemented as two bits associated with
each process. From the condition code value, basic information about
what happened during execution of an intrinsic can be learned.
Although Pascal\XL has a built-in function that lets
you check the condition code, it does not allow you to set it. If
you write procedures and want to return information through a condition
code, then use the HPSETCCODE intrinsic. It is the only mechanism for setting
the condition code. Only source code compatible routines (implemented
in native mode or called through native mode switch stubs) should
call HPSETCCODE.
The HPSETCCODE intrinsic is the only mechanism available for
setting the condition code in the native mode environment.