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; };
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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|