Object Pascal uses the ASCII
character set, including the letters A through Z and a
through z, the digits 0 through 9, and other standard
characters. It is not case-sensitive. The space character (ASCII 32) and
the control characters (ASCII 0 through 31, including ASCII 13, the return or
end-of-line character) are called blanks.
Fundamental syntactic elements, called tokens, combine to form expressions, declarations, and statements. A statement describes an algorithmic action that can be executed within a program. An expression is a syntactic unit that occurs within a statement and denotes a value. A declaration defines an identifier (such as the name of a function or variable) that can be used in expressions and statements, and, where appropriate, allocates memory for the identifier.
Object Pascal使用ASCII字符集,包括字母A到Z和a到z,数字0到9,以及其他的标准字符。Object Pascal中,编译器对大小写不敏感,空格字符(ASCII 32)和其他控制字符(ASCII 0到ASCII 31,包括行结束符ASCII 13)都叫做空格(blanks)。
基本语法元素叫做标记(tokens),标记被联合到一起组成表达式、声明、语句等。语句(statement)描述了能够在程序中被运行的逻辑动作。表达式(expression)是造句单位,它出现在语句中,表示一个值。声明(declaration)定义了一个标识符(如函数名或变量),该标识符能被用在表达式和语句中,并且适当的情况下为该标识符分配内存。