Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Introduction to Variables
Author: Eddie Carroll
| Website: http://www.flashkit.com |
The Variable Name
The variable name can be any letter, number or underscore and is not case sensitive but must begin with a character and while their values may change the name doesn't. It cannot be a keyword or a Boolean literal (ie True or False) and must be unique within its scope.
Naming your variable is very important as you will discover yourself when you start programming. The names 'x' and 'qwerty' have no meaning and when you come back to edit your code days, months or even years later your code will also have no meaning. So it's good practice to give your variable names relevant labels. There are also some other important things about variables that you should know.
| » Level Basic |
|
|
Added: : 2000-11-06
Rating: 7.62 Votes: 198
Hits: 8742
|
| » Author |
|
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 |
|
Download the files used in this tutorial.
|
|
Download (27 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|