Why is my code stuck in a looping sequence and not triggering events?

Here are some sample apps to study:

1 Like