Arrays

Dynamic Array Types

TArrayOfByte

type TArrayOfByte = array of Byte;

type PArrayOfByte = ^TArrayOfByte;

A dynamic array of bytes.

TArrayOfWord

type TArrayOfInteger = array of Word;

A dynamic array of words.

TArrayOfInteger

type TArrayOfInteger = array of Integer;

A dynamic array of integers.

TArrayOfSingle

type TArrayOfSingle = array of Single;

A dynamic array of single-precision floating-point values.

TArrayOfArrayOfInteger

type TArrayOfArrayOfInteger = array of TArrayOfInteger;

A dynamic array of dynamic arrays of integers.

 

Array Reference Types

Most likely you will never use the reference types directly, however the pointer is the one of some importance. It provides indexed access to values stored in memory, and is used as the result type of the ordinal maps bits properties.

TByteArray

type TByteArray = array [0..0] of Byte;

type PByteArray = ^TByteArray;

A reference to array of byte-typed values.

TWordArray

type TWordArray = array [0..0] of Word;

type PWordArray = ^TWordArray;

A reference to array of word-typed values.

TIntegerArray

type TIntegerArray = array [0..0] of Integer;

type PIntegerArray = ^TIntegerArray;

A reference to array of integer-typed values.

See Also

TByteMap, TIntegerMap, TWordMap