October 2011
Intermediate to advanced
880 pages
14h 44m
English
In the last chapter we explored Visual Basic expression syntax and had our first look at working with the objects of object-oriented programming. In this chapter, we’ll finish up our examination of the language syntax by examining the intransitive verbs of the language: commands.
There are two important types of commands in Visual Basic, and we’ll examine both of them in this chapter. Control-of-flow commands determine what code executes when (and how often). Exception-handling commands tell your application what to do when things don’t go quite as expected, which of course things don’t, more often than not.
Although it’s not unknown for a program to start execution at line one and continue, line by ...