Hour 11. Using Constants, Data Types, Variables, and Arrays

What You’ll Learn in This Hour

Understanding data types

Determining data type

• Converting data to different data types

Defining and using constants

• Dimensioning and referencing variables

• Understanding explicit variable declaration and strict typing

Working with arrays

Determining scope

• Declaring static variables

• Using a naming convention

As you write your Visual Basic procedures, you’ll regularly need to store and retrieve various pieces of information. As a matter of fact, I can’t think of a single application I’ve written that didn’t need to store and retrieve data in code. You might want to keep track of how many times a procedure has been called, for example, ...

Get Sams Teach Yourself Visual Basic 2012 in 24 Hours, Complete Starter Kit 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.