Chapter 9. Controlling Code Flow

Rarely is a process within code accomplished with a single procedure that executes from the top down. Most processes are accomplished with multiple procedures, sometimes including more than one module. If you follow the execution path of a particular process, you’ll usually experience many twists and turns, often spurred by decisions based on the evaluation of an expression. Initiating the given process a second time might cause an entirely different path of execution if even a single condition within the program has changed, such as the user entering new text in a text box. Frequently, the multiple paths of execution cause code to take on a rather labyrinthine appearance. Obviously, the ability to easily discern ...

Get Practical Standards for Microsoft® Visual Basic® .NET, Second Edition 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.