2.3 Identifiers

From OC Systems Wiki!
Jump to: navigation, search

Identifiers are used as names.


identifier ::=
identifier_letter {[underline] letter_or_digit}

letter_or_digit ::= 
identifier_letter | digit

An identifier shall not be a reserved word.

Static Semantics

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

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


Examples of identifiers:

Count      X    Get_Symbol   Ethelyn   Marion
Snobol_4   X1   Page_Count   Store_Next_Item

Copyright © 1992,1993,1994,1995 Intermetrics, Inc.
Copyright © 2000 The MITRE Corporation, Inc. Ada Reference Manual