CommonCParameterResultActions
- Updated2025-07-21
- 1 minute(s) read
CommonCParameterResultActions
Use the following constants with the CommonCParameter.ResultAction property to specify what action to take when the code module returns a value. This property is valid only for return values and numeric parameters you pass by pointer.
- CParamResult_NoAction –(Value: 0) Specifies to ignore the return value.
- CParamResult_SetErrorIfNegative –(Value: 1) Specifies to set the error state of the step if the return value is less than zero.
- CParamResult_SetErrorIfNotZero –(Value: 4) Specifies to set the error state of the step if the return value is not zero.
- CParamResult_SetErrorIfPositive –(Value: 2) Specifies to set the error state of the step if the return value is greater than zero.
- CParamResult_SetErrorIfZero –(Value: 3) Specifies to set the error state of the step if the return value is equal to zero.