O'Reilly logo

Sams Teach Yourself Visual Basic 2012 in 24 Hours, Complete Starter Kit by James Foxall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required