text that uniquely identifies a constant or variable within a scope


%head(letter | "_") %tail{letter | number | "_"}


The first character must be a letter character. Note that the character groups "letter" and "number" are inclusive of many unicode characters beyond the conventional a-z, A-Z and 0-9. Specifically, all unicode codepoints in a letter or number category may be used in an identifier.

Examples of valid identifiers:

  • x
  • myVariable
  • q4
  • Employee
  • print_line
  • символ
  • θ

Non examples:

  • 1stValue

This website does not use cookies or javascript, excluding the Google search bar.
copyright © Brent Lewis 2013-2017