System.TExtended80Rec.Bytes
Delphi
property Bytes[Index: Cardinal]: UInt8 read GetBytes write SetBytes; // 0..9
C++
__property UInt8 Bytes[unsigned Index] = {read=GetBytes, write=SetBytes};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.pas System.hpp |
System | TExtended80Rec |
Description
An array of 10 System.UInt8 variables that form the internal representation of this System.TExtended80Rec instance.
Note:
The data type of Bytes changed in the XE3 release. Previously, Bytes was a variant part of a record.
Now Bytes is an array property. For an array property such as Bytes, you cannot use the system operators System.High and System.Low, and you cannot get the pointer of an array property. In the XE2 release, you could use System.High and System.Low with Bytes, and you could get the pointer of the Bytes array.
You can use Bytes to access individual bytes of the System.TExtended80Rec variable. For example, the following expression refers to the third element of a TExtended80Rec-type variable:
data.Bytes[2]