I am trying to create a program that has a boolean that is dependent on a value, and that boolean is connected to a case structure that is nested in another case structure, which is nested in a while loop. The boolean is true until the measurement is less than a certain value. Once it is less than that value, I want the boolean to remain false, but the measurement is such that it will change so that the boolean would become true again. Is there anything I can do to keep the boolean false once it becomes false?