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 topic, Unit References and the Uses Clause.