Navigation: Function Reference > Study Formula Functions > ThisStudy.getDoubleArray() > TEDoubleArray.getValue()

TEDoubleArray.getValue()

Top  Previous  Next

TEDoubleArray.getValue( offset: Integer ) : Double;

 

Retrieves a value from the storage object study at offset. The value returned is a Double.

 

 

Note: In most cases it will not be necessary to use the getValue() function to retrieve values from a storage object since a storage object can be treated just like an array. Therefore to retrieve the value from the first element of the storage object you could use myVar := myStorageObject[0]; and to retrieve the value from the 3rd element of the storage object you could use myVar := myStorageObject[2];

 

 

Parameters

 

offset

integer value (0 or positive offset into what is essentially an array of elements)