Movatterモバイル変換


[0]ホーム

URL:



Lady Ada

Ada '83 Language Reference Manual

Copyright 1980, 1982, 1983 owned by the United States Government. Direct reproduction and usage requests to theAda Information Clearinghouse.


2.3. Identifiers

[PREVIOUS][UP][NEXT]

Identifiers are used as names and also as reserved words.

    identifier ::=       letter {[underline] letter_or_digit}     letter_or_digit ::= letter | digit     letter ::= upper_case_letter | lower_case_letter

All characters of an identifier are significant, including any underlinecharacter inserted between a letter or digit and an adjacent letter ordigit. Identifiers differing only in the use of corresponding upper andlower case letters are considered as the same.

Examples:

    COUNT      X    get_symbol   Ethelyn   Marion     SNOBOL_4   X1   PageCount    STORE_NEXT_ITEM

Note:

No space is allowed within an identifier since a space is a separator.

References:digit,lower case letter,name,reserved word,separator,space character,upper case letter.

Rationale references:2.1 Lexical Structure

Style Guide references:3.1.1 Use of Underscores,3.1.3 Capitalization,3.1.4 Abbreviations,3.2 Naming Conventions,5.2.1 Formal Parameters,5.5.4 Positive Forms of Logic,8.1.1 Application-Independent Naming,8.1.2 Abbreviations

[INDEX][CONTENTS]


[Ada Information Clearinghouse]

Address any questions or comments toadainfo@sw-eng.falls-church.va.us.


[8]ページ先頭

©2009-2025 Movatter.jp