Chapter 7: Processing Lots of Data with Loops


OVERVIEW

As you have already seen in previous chapter projects, there are times when you need to create loops within your applications in order to repeatedly perform a number of steps. Loops are also essential for processing large amounts of data without requiring a large number of programming statements. Loops are a great option for processing the contents of arrays and controls, such as the ComboBox and ListBox, which store collections of data. In this chapter, you will learn how to use a number of Visual Basic statements to create different kinds of loops. In addition, you will get the chance to apply what you'll learn through the development of the chapter's game project, the Dice Poker game.

Specifically, you will learn how to:

  • Create DoWhile and DoUntil loops

  • Create ForNext and For EachNext loops

  • Create While loops

  • Use variations of the Exit keyword to break out of loops

  • Guard against endless loops




Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
ISBN: 1592008143
EAN: 2147483647
Year: 2006
Pages: 126

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