Error 110: $ENDIF directive missing The $IFxx compiler directive requires an $ENDIF directive to terminate the $IFxx block. Insert the $ENDIF directive at the appropriate location.