Lesson 2 - Variables

This lesson extends the simple examples in lesson 1 to cover the subject of variables.  It introduces:

  • What a variable is.
  • How to declare a variable
  • The different types of variables that are covered in these lessons
  • An example program using Integer and String
  • How to convert between Integer and String (and why you need to)
  • A quick illustration of how to use the debugger in Visual Basic 2010 Express.
 
To try this out for yourself, work through the examples in Worksheet 2 - Variables.