I think I have worked out what you mean, describe more of what you are trying to achieve. if x> 45, do not allow it again until the value drops below 40? If so you will need to use bool variables, x>45 set bool true - >40 set bool false, then if bool if false x> can happen, but if false x> can't happen
S