LongRec

Record describing a longint value

Declaration

Source position: sysutilh.inc line 45

Type
LongRec = packed record
case Integer of
0: (
public
  Lo : Word;
  Hi : Word;
);
1: (
public
  Bytes : Array[0..3] of Byte;
);
end

Description

LongRec can be used to extract the parts of an long Integer: the high and low word, or the 4 separate bytes as a zero-based array of bytes. Note that the meaning (or ordering) of High and Low parts are different on various CPUs, and may differ from what is shown in the declaration: the ordering depends on the endianness of the CPU.

See also

Name Description
Int64Rec Record describing an Int64 value
WordRec Record describing a word value.

results matching ""

    No results matching ""