What's Next

In this chapter you have learned the fundamental control statements in Visual Basic. These statements allow you to control the execution flow or your program, and make decisions on what parts of the program are executed in what conditions and/or how many times. You have seen that the control statements can be classified further in branching statements (like the If and Select Case statements) and loop statements (like For, Do and While).

In the next chapter you will learn how to structure your program into smaller pieces, known as subroutines, procedures, and functions. You will also learn why this is important and see a few examples of writing and using procedures and functions and passing parameters.

NOTE

The answers to Reviewing ...

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.