Introduction to Structured Programming

As you have seen in the previous chapters, a software program consists of a sequence of statements that the computer executes. There is a start point (the first statement that will be executed) and an end point (the last statement of the program). In the Visual Basic examples you have seen so far, the start point is the Sub Main statement and the end point is the End Sub statement. The statements between the start and end points are executed sequentially. The currently executing statement is known as the current statement or the execution point. You have seen that there are statements that allow you to control which statements are executed (the branching statements, like If and Select Case) and statements ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.