System.Longint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type Longint = Integer;

C++

typedef int                  Longint;          // -2147483648..2147483647

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.pas
sysmac.h
System System

Description

Platform-dependent signed integer type.

LongInt size and range depend on the target platform:

  • On 32-bit platforms and 64-bit Windows platforms, LongInt is an 4-byte signed integer with the range [-2147483648; 2147483647].
Note: 32-bit platforms include 32-bit Windows, OSX32, 32-bit iOS, and Android.
  • On 64-bit iOS platforms, LongInt is an 8-byte signed integer with the range -263 through 263-1.
Note: If you want to use a 4-byte signed integer type, use Integer or FixedInt.

See Also

Personal tools
Translations