3.2.1.3. Variables by content

Up one level
-

Apart from dividing variables in local and global variables, we can also divide them in categories according to the sort of content the variable contains. In this respect, variables come in 4 types:

  • String variables

  • Integer variables

  • Constant variables

  • Array variables

We'll discuss these types in Chapter 10. For now, we will work with integer and string values for our variables.

(no ads!)