Chapter 8. Managing Program Tasks with Procedures

In this chapter

Procedures Defined

Working with Sub Procedures

Working with Function Procedures

Reusing Functions and Procedures

In the preceding two chapters, you began to learn about writing code to make your programs accomplish various tasks. You saw how you can manipulate data and how control statements allow you to execute repetitive tasks and to execute statements selectively. However, creating a good, maintainable program involves more planning than just writing code.

One of the tasks you should learn to do is to create reusable pieces of code and reusable program pieces so that you are not constantly reinventing the wheel (or the program, in this case). Another important skill is the ability ...

Get Special Edition Using Microsoft® Visual Basic® .NET 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.