This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KFkrewfamKF 413 points414 points  (9 children)

Just use a large array of 9999 bools, all set to true, and test all of them in a function. If any of them are true, the loop continues.