When you interact with a computer application, the information that you provide and the actions that you take are processed by the application. In order to be able to work with this information, the application needs to be able to store data as it collects it so that it can later retrieve and modify the data. In this chapter, you will learn how to store and retrieve data in memory using constants, variables, structures, and arrays. I'll also cover a couple of extra items, including how to embed comments inside your program code and how to work with the ProgressBar control. In addition, you will get the chance to work on a new game project, the Story of Mighty Molly game.
Specifically, you will learn how to:
Define constants, variables, structures, and arrays
Properly specify data types
Convert data from one data type to another
Specify variable scope