help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

LongRec

Record describing a longint value

Declaration

Source position: sysutilh.inc line 40

type LongRec = packed record

  case Integer of

    0: (

        Lo: Word;

  

Lower byte

        Hi: Word;

  

Upper byte

      );

    1: (

        Bytes: array [0..3] of Byte;

  

Array of 4 bytes.

      );

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 of High and Low parts are different on various CPUs.

See also

WordRec

  

Record describing a word value.

Int64Rec

  

Record describing an Int64 value

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505