SetIndicator (set error indicator)

Top  Previous  Next

 

SetIndicator( broken )

The SetIndicator method creates or destroys an error indicator as appropriate.

broken

An integer constant, variable, EQUATE, or expression that indicates whether the current rule is broken.

Implementation:

The SetIndicator method destroys any previously created error indicator for this rule and conditionally creates a new one.

Example:

 

 RetVal = CHOOSE(EvaluateResults = 0,1,0)

 SELF.SetIsBroken(RetVal)

 IF DisplayIndicator

  SELF.SetIndicator(RetVal)

 END