Navigation: Function Reference > Study Formula Functions > ThisStudy.getStorage() > TEStorage.getValue()

TEStorage.getValue()

Top  Previous  Next

TEStorage.getValue( offset: Integer ) : Variant;

 

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

 

 

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)