inFuncBool set and reset