Loop help

I think you'll find that you get a lot more feedback if you:

  1. Read the first two posts (i.e., "sticky notes") on this forum that tell you how to get the most out of this forum.
  2. With the cursor in the Source Code window of the IDE, press Ctrl-T to format your code in a form preferred by most readers.
  3. Use the source code tags (using the '#' character you see when you post a comment) to encompass your formatted code.

This will make it easier for everyone to help you.