CHAPTER 4

Working with Variables, Data Types, and Constants

So far, you’ve been introduced to the essential components of Visual Basic—the modules and procedures that contain your application’s Visual Basic code. You’ve also learned some of the elements of Visual Basic procedures and have seen examples of some of the programming tools you can use to control how your code runs. This chapter takes you one step further, showing you the basics of declaring and using variables, data types, and constants in your Visual Basic code.