System.LongWord

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

type LongWord = Cardinal;

C++

typedef unsigned             LongWord;         // 0..4294967295

Properties

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

Description

Platform-dependent unsigned integer type.

LongWord represents a subset of the natural numbers. LongWord size and range depend on the target platform:

  • On 32-bit platforms and 64-bit Windows platforms, LongWord is a 4-byte unsigned integer with the range from 0 through 4294967295.
Note: 32-bit platforms include 32-bit Windows, OSX32, 32-bit iOS, and Android.
  • On 64-bit iOS platforms, LongWord is an 8-byte unsigned integer with the range from 0 through 264-1.
Note: If you want to use a 4-byte unsigned integer type, use FixedUInt or Cardinal.

See Also