Summary


In this chapter, we studied the various types of Do loops that Visual Basic .NET makes available to you. You learned that Do loops are often used when the terminating condition is not known when entering the loop. You also learned that Until loops are useful when you want to execute a set of instructions until some condition becomes True. Finally, you learned how a sentinel can be used to improve loop performance.

Program loops are very important elements of any program, primarily because they often comprise such a large component of the program's total execution time. Because of this importance, pay close attention to them when you design your programs.



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

Similar book on Amazon

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