Integer types

Language:
Русский
English

   Integer types


Turbo Pascal provides five predefined Integer types. Each type denotes a specific subset of the whole numbers, as shown here:

   Type     Range                   Format
   Shortint -128..127               Signed 8-bit
   Integer  -32768..32767           Signed 16-bit
   Longint  -2147483648..2147483647 Signed 32-bit
   Byte     0..255                  Unsigned 8-bit
   Word     0..65535                Unsigned 16-bit

All Integer types are ordinal types.

Код для вставки: :: :: :: ::
Поделиться: // //