The MaxVal_Integer_Scalar procedure provides a function equivalent to the MaxVal() intrinsic function for integer scalars. It returns a value equal to the input value.
Calling syntax:
Integer = MaxVal(I) |
Input variable:
I | Input integer scalar variable. |
Output variable:
MaxVal | MaxVal is equal to I. |
The MaxVal_Integer_Scalar code listing contains additional documentation.