In this chapter, you learned about program loops and the conditions that must be present to have well-behaved loops . You also learned how to construct a (well-behaved?) program loop using the For - Next statement. We discussed how such loops are perfect for processing problems in which the number of iterations that must be made in the loop is known. I also felt this was a good time to introduce you to Structure s because they're often associated with lists of data. Finally, we wrote a simple program to process both single-and multi-dimensioned arrays with For loops.
It's probably safe to say that for any nontrivial program, most of a program's complexity is found in the statement blocks of loops. Spend some time with this chapter's exercises before you move on to the next chapter.