Identifiers
Author: JTC1/SC22/WG9/ARG, by Randall Brukardt, ARG Editor

Contents Index Search Previous Next

# 2.3 Identifiers

1
Identifiers are used as names.

#### Syntax

2
identifier ::=
identifier_letter {[underline] letter_or_digit}
3
letter_or_digit ::= identifier_letter | digit
4
An identifier shall not be a reserved word.

#### Static Semantics

5
All characters of an identifier are significant, including any underline character. Identifiers differing only in the use of corresponding upper and lower case letters are considered the same.

#### Implementation Permissions

6
In a nonstandard mode, an implementation may support other upper/lower case equivalence rules for identifiers, to accommodate local conventions.

#### Examples

7
Examples of identifiers:
8
Count X Get_Symbol Ethelyn Marion
Snobol_4 X1 Page_Count Store_Next_Item

Contents Index Search Previous Next Legal