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

ThisStudy.getStorage()

Top  Previous  Next

ThisStudy.getStorage( size: Integer ) : TEStorage;

 

Returns a storage object of type TEStorage with a lifetime that spans script iterations. These storage objects can be worked with just like arrays and can be used to store data of type String, Integer, or Double. All housekeeping is taken care of by ScanExpert for any storage objects created.

 

There is also another storage object type available that is faster if the data type you are working with is of type Double. (see getDoubleArray())

 

 

Note: For extensive examples on using storage objects, see the MAMA formula study source file (dsMAMAStudy.pas).

 

 

Parameters

 

size

integer value representing the size of the storage object being requested, in elements.

 

getStorage

 

See also:

 

ThisStudy.getDoubleArray()

Anatomy of a Study Formula

Study Utility Functions