| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > RuleManager > Rule Class Methods >====== SetIndicator (set error indicator) ====== | [[setglobalrule post address to globalrule .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[rulescollection class properties.htm|{{btn_next_n.gif|Next page}}]] | | || **SetIndicator( **//broken//** )** {{blk2blue.jpg|blk2blue.jpg}} 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**