Delphi Language Guide Delphi for Microsoft Win32 Delphi for the Microsoft. Net framework


Special symbol Equivalent symbols



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə43/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   39   40   41   42   43   44   45   46   ...   294
DelphiLanguageGuide

Special symbol Equivalent symbols
[
(.
]
.)
{
(*
}
*)
The left bracket [ is equivalent to the character pair of left parenthesis and period (.
The right bracket ] is equivalent to the character pair of period and right parenthesis .)
The left brace { is equivalent to the character pair of left parenthesis and asterisk (*.
The right brace } is equivalent to the character pair of right parenthesis and asterisk *)
Note:
%?\!" (double quotation marks), _ (underscore), (pipe), and ~ (tilde) are not special characters.
Identifiers
Identifiers denote constants, variables, fields, types, properties, procedures, functions, programs, units, libraries,
and packages. An identifier can be of any length, but only the first 255 characters are significant. An identifier must
begin with an alphabetic character or an underscore (_) and cannot contain spaces; alphanumeric characters, digits,
and underscores are allowed after the first character. Reserved words cannot be used as identifiers.
Note:
The .NET SDK recommends against using leading underscores in identifiers, as this pattern is reserved for
system use.
Since the Delphi Language is case-insensitive, an identifier like 
CalculateValue
 could be written in any of these
ways:
CalculateValue
calculateValue
calculatevalue
CALCULATEVALUE
Since unit names correspond to file names, inconsistencies in case can sometimes affect compilation. For more
information, see the topicUnit References and the Uses Clause.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   39   40   41   42   43   44   45   46   ...   294




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin