FloatValues property

Delphi example

C++Builder example

 

Builder Syntax

float FloatValues[Cardinal uIndex ]

Delphi Syntax

FloatValues[uIndex: Cardinal]: Single

Overview

Refer to Working with Data Sets.

Remarks

Contains an array of float values (single-precision floating point) retrieved from or set to the Data Element specified by the CurrentElement property. The size of this array is determined by the FloatValueCount property.

If you are retrieving float values associated with the element specified in the CurrentElement property, calling the GetFloatValue method updates this property with the float values associated with the specified element.

If you are setting float values associated with the element specified in the CurrentElement property, you can set the FloatValueCount property to allocate storage for the FloatValues property, prior to setting the float values using SetFloatValue.

Set the FloatValueCount property to 0 at any time to free the memory used for the FloatValues property.

See Also

Elements:

FloatValueCount property, GetFloatValue method, SetFloatValue method