$ 0 0 Learn how to use your debugger. It would let you to step through your code step by step, which would help you notice your loop isn't entered.