• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Variables

Now that we have covered data, let's take a look at what holds this data—variables.

Data without variables only lives for a second; once the interpreter has passed it, its life span is over. Variables are like Tupperware: They can hold data for long periods of time, and whenever you want that data, you just go to the variable and it's still there. A variable can hold any type of data, including strings, numbers, Boolean values, and even other variables.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint