What is a Variable?
A variable is simply a container, a bucket if you will. However this bucket can only contain one piece of information at any one time, no matter how small or big. Derek Franklin, Author of Flash 4! related variables to real life. Consider the information in your life. These could be variables too:Name = "Eddie";
Age = 89;
Income = "not enough";
Friends = 0;
You will notice here that each line can be broken up into several parts - the variable name, the operator and the value. The operators will be dealt with in a later tutorial but for now we will be using the equals sign (=).
|» Level Basic|
Rating: 8 Votes: 198
|Eddie was a Content Editor at Flashkit.com and is actually a sentient Gateway Solo 2150xl notebook that suffers from acute lysdexia and caffeine addiction. He is carried on the shoulders of a semi-autonomous human called "Body".|
|Download the files used in this tutorial.|
|Download (27 kb)|
|More help? Search our boards for quick answers!|