Summary


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.



Visual Basic .NET. Primer Plus
Visual Basic .NET Primer Plus
ISBN: 0672324857
EAN: 2147483647
Year: 2003
Pages: 238
Authors: Jack Purdum

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net