C
void MtrSetVal( METER * pMtr, SHORT newVal );
Overview
This function sets the value of the meter to the passed newVal. newVal is checked to be in the minValue-maxValue range inclusive. If newVal is not in the range, minValue maxValue is assigned depending on the given newVal if less than minValue or above maxValue.
Input Parameters
Input Parameters |
Description |
METER * pMtr |
The pointer to the object. |
SHORT newVal |
New value to be set for the Meter. |
Returns
none
Preconditions
none
Side Effects
none