WordRec declares a utility record to store high and low order bytes of a variable.
WordRec = packed record case Integer of 0: (Hi: Byte; Lo: Byte;); 1: (Bytes: array [0..1] of Byte);); end;
struct WordRec { Byte Hi; Byte Lo; array [0..1] of Byte) Bytes; };
SysUtils
The WordRec type declares a utility record that stores the high and low order bytes of the specified variable as type Byte. WordRec is used primarily for typecasting.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|