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



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə277/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   273   274   275   276   277   278   279   280   ...   294
DelphiLanguageGuide

Expression Elements
The elements of an expression are constants, registers, and symbols.
Numeric Constants
Numeric constants must be integers, and their values must be between 2,147,483,648 and 4,294,967,295.
By default, numeric constants use decimal notation, but the built-in assembler also supports binary, octal, and
hexadecimal. Binary notation is selected by writing a B after the number, octal notation by writing an O after the
number, and hexadecimal notation by writing an H after the number or a $ before the number.
Numeric constants must start with one of the digits 0 through 9 or the $ character. When you write a hexadecimal
constant using the H suffix, an extra zero is required in front of the number if the first significant digit is one of the
digits A through F. For example, 0BAD4H and $BAD4 are hexadecimal constants, but BAD4H is an identifier because
it starts with a letter.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   273   274   275   276   277   278   279   280   ...   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