Chapter 8. Working with Data
In This Chapter
Making Decisions in Code
Using Else
Other Forms of Decision Making
Nesting If...Else Statements
Selecting with Select Case
Looping in Visual Basic
Now that you know Visual Basic's mathematical and decision operators, you can put those operators to use in this chapter. The comparison operators enable you to set up complex decision-making and repetition statements in Visual Basic. One of the advantages that the computer offers to us is that the computer will repeat a task over and over without getting bored. In this chapter, you'll learn how to write programs that repeat sections of code.
The highlights of this chapter include the following:
Use the If statement to make decisions.
The Else branch enables ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access