Question: Interrupted Operation in an if condition

Basically I need to include an if condition that assigns one set of values to a set of variables if the while loop completes a cycle without me interrupting it, and another set of values in the event I have pressed the interrupt button.

Is this able to be done?

Please Wait...