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|
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!|