Chapter 13. Modular Programming

This lesson covers the theory of good, structured programming techniques. By breaking your application into several procedures, you'll streamline your coding efforts, write more accurate code, and speed subsequent maintenance. Before you can successfully write well-structured code, you'll have to master argument passing. This lesson examines Visual Basic's two argument-passing methods and describes when and why you would choose one over the other.

The highlights of this hour include

  • What benefits structured programming offers

  • Why short, numerous procedures beat long procedures

  • How to write your own functions and subroutines

  • When to use functions

  • How to code argument lists

  • Why VB uses two argument-passing methods

  • How to ...

Get Sams Teach Yourself Visual Basic® 6 in 24 Hours 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.