# Simple question on variable naming

**URL:** <https://forum.kirupa.com/t/simple-question-on-variable-naming/304299>\
**Category:** flash\
**Created:** [February 5, 2010, 2:09am UTC](https://forum.kirupa.com/t/simple-question-on-variable-naming/304299 "2010-02-05T02:09:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RollingSton3](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@RollingSton3](https://forum.kirupa.com/u/RollingSton3)\
**Post date:** [February 5, 2010, 2:09am UTC](https://forum.kirupa.com/t/simple-question-on-variable-naming/304299/1 "2010-02-05T02:09:31Z")

</div>

Believe it or not, I can’t find the answer to this simple question. Could be I can’t figure out the correct search string.

What are rules for legal variables names?  
ie: A-Za-z0-9, hyphen, underscore, etc. must start with an alpha at least n characters, no longer than n characters, etc.

Thanks for the help!
