Part II. Variables and Calculations

You may have noticed that the lessons up to this point haven't done much with numbers, dates, text (other than to just display it), or any other pieces of data. They've mostly dealt with controls and their properties, methods, and events.

Although you can do some fairly impressive things with controls alone, most programs also need to manipulate data. They need to do things like add purchase costs, calculate sales tax, sort appointments by time, and search text for keywords.

The lessons in this section explain how to perform these kinds of tasks. They explain the variables that a program uses to represent data in code, and they show how to manipulate variables to calculate new results.

Get Stephens' Visual Basic® Programming 24-Hour Trainer 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.