Update on Names for variables (#23286)

Updated the rules for the first character of the variable name
This commit is contained in:
wolfwhocodes
2018-11-23 15:55:36 +05:30
committed by Manish Giri
parent 0b4cdb07e9
commit 1672a60482

View File

@ -93,7 +93,7 @@ We get `15.300000`. So, say we just want two places after the decimal to give us
# Names for Variables # Names for Variables
* The only characters you can use in names are alphabetic characters, numeric digits, and * The only characters you can use in names are alphabetic characters, numeric digits, and
the underscore (_) character. the underscore (_) character.
* The first character in a name cannot be a numeric digit. * The first character in a name cannot be a numeric digit. It can be a letter from A to Z or a to z or the underscore character.
* Uppercase characters are considered distinct from lowercase characters. * Uppercase characters are considered distinct from lowercase characters.
* You cant use a C keyword for a name. * You cant use a C keyword for a name.