System.TExtended80Rec.Words

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Words[Index: Cardinal]: UInt16 read GetWords write SetWords; // 0..4

C++

__property Word Words[unsigned Index] = {read=GetWords, write=SetWords};

Properties

Type Visibility Source Unit Parent
property public
System.pas
System.hpp
System TExtended80Rec

Description

An array of 5 System.UInt16 variables that form the internal representation of this System.TExtended80Rec instance.

Note:

The data type of Words changed in the XE3 release. Previously, Words was a variant part of a record.

Now Words is an array property. For an array property such as Words, 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 Words, and you could get the pointer of the Words array.

You can use Words to access individual words of the System.TExtended80Rec variable. For example, the following expression refers to the second element of a TExtended80Rec-type variable:

 data.Words[1]

See Also