| The oCompare Object takes the value of the Object that the Input property points to and performs 2 comparisons on it. These comparisons result in one of 3 properties (Above, Between and Below) to be set while the remaining two are cleared to 0. The normal operation of the oCompare Object is to make these comparisons once every Object List Loop. If the property option "C" is used, then the operation is modified so that this function only occurs once each time an oLogic Object transitions. In normal operation, the input value is first compared to the value of the Object pointed to by the ReferenceIn property plus the value of the fuzziness property. If the Input value is greater than the ReferenceIn value plus the fuzziness value, then the Above property is set to 1. If the Input value is equal to or less than the ReferenceIn plus fuzziness value, then a second comparison is made where the Input value is compared against the ReferenceIn1 value minus the fuzziness value. If the input value is less than the ReferenceIn value minus the fuzziness value, then the Below property is set to 1; otherwise, the Between property is set to 1. Property options are also available that change the number of references with which the compare is made . If the "0" (for zero references) property option is specified, then the oCompare Object operates as it does normally, except that the ReferenceIn value is replaced with 0. If the "2" (for two references) property option is specified, then the oCompare Object operates as it does normally except that in the second comparison, the ReferenceIn1 property is used with a ReferenceIn2 property. |