Skip to content

Variables

trekitch edited this page Feb 13, 2017 · 12 revisions

#What is a Variable

A variable is a location in memory that that can hold data that may vary. A variable can be anything from a a number to a string of words. An example of this can be seen in the Strings chapter where we made different literal strings. Numbers can also be variables. In fact, numbers are the main type of variables used when programming. This is especially true when you have a program that will do a lot of math.

Clone this wiki locally