How can I break an infinite loop at runtime?

Say that I have:

b = true;
while(b){}

Is there any way to continue on after this point? Like some way to modify the value of b without stopping and re running the program?

I want to do this as a simple method to pause the program for an unspecified amount of time, that changes all the time.


Source: New Questions

Leave a Reply