Skip to Main Content
Mastering Microsoft® Visual Basic® 2010
book

Mastering Microsoft® Visual Basic® 2010

by Evangelos Petroutsos
April 2010
Beginner content levelBeginner
1056 pages
31h 5m
English
Sybex
Content preview from Mastering Microsoft® Visual Basic® 2010

Chapter 3. Visual Basic Programming Essentials

The one thing you should have learned about programming in Visual Basic so far is that an application is made up of small, self-contained segments. The code you write isn't a monolithic listing; it's made up of small segments called procedures, and you work on one procedure at a time.

In this chapter we'll explore the two types of procedures supported by Visual Basic: subroutines and functions — the building blocks of your applications. We'll discuss them in detail: how to call them with arguments and how to retrieve the results returned by the functions. You'll learn how to use the built-in functions that come with the language as well as how to write your own subroutines and functions.

The statements ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Visual Basic® 2010 Unleashed

Visual Basic® 2010 Unleashed

Alessandro Del Sole
Beginning Microsoft® Visual Basic® 2008

Beginning Microsoft® Visual Basic® 2008

Thearon Willis, Bryan Newsome

Publisher Resources

ISBN: 9780470532874Purchase book