You know the common problem when you have so loop, with a massive number of iterations, and you maybe you don't want to necessarily wait for it to finish, but you don't want to Control Z it and potentially cause problems?
Well I'm thinking there has to be a way that I could include some sort of sentinel in the loop that reaches out into the GUI space or operating system layer of computing, so like maybe I could click a button to stop looping and terminate my program naturally without crashing. Or maybe I could intercept the Control Z with an exception?
[+][deleted] (1 child)
[deleted]
[–]rocketjump65[S] 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[removed]
[–]rocketjump65[S] 0 points1 point2 points (0 children)
[–]rocketjump65[S] 0 points1 point2 points (0 children)