Visual Basic 6 Programming:
Business Applications with a Design Perspective
Table of Contents
Chapter 7 Repetition
- 7.1 The Do… Loop Structure
- Example 1: Showing a sequence of numbers
- Example 2: Reading a Name List and Populating a List box
- Handling The Endless Loop
- Do Loop without a Condition on Either Statement
- Example 3. Computing the Value of an Infinite Series
- Example 4: Finding the Solution of an Equation Numerically
- 7.2 The For ...Next Structure
- Example 5. Printing A Sequence of Numbers
- Example 6. Listing Who's Invited
- Example 7. Every Other Day
- Example 8. Printing a String on Two Lines
- Nesting the Loops
- Example 9. Matching Up Teams in a League
- Example 10. What Is Your Chance?
- The For Each…Next Structure
- 7.3 Additional Notes on Coding Repetition
- Do Vs. For
- For Vs. For Each
- Tips for Efficiency
- 7.4 An Application Example
- The project
- Design Considerations
- The Visual Interface
- Coding the Project
- Summary
- VB Explorer
- Exercises
- Projects