0

What is a valid variable name - Question 3

On question 3/4 of Variables: Why is A_VARIABLE_NAME a valid variable name but a_variable_name is not? or is that a mistake in the app questions?

18th Nov 2016, 11:58 PM
justin yuen
justin yuen - avatar
2 odpowiedzi
+ 4
a_variable_name would be a valid name, too, but the name given is a-variable-name, which isn't because of the hyphens.
19th Nov 2016, 12:08 AM
Blizzarc
Blizzarc - avatar
+ 1
ah I missed that. thanks!
19th Nov 2016, 12:16 AM
justin yuen
justin yuen - avatar