|
Navigation: Function Reference > Study Formula Functions > ThisStudy.getDoubleArray() > TEDoubleArray.setValue() TEDoubleArray.setValue() |
Top Previous Next |
TEDoubleArray.setValue( offset: Integer; aData: Double );
Sets the value of a storage object at element offset.
Note: In most cases it will not be necessary to use the setValue() procedure to assign values to a storage object since a storage object can be treated just like an array. Therefore to assign a value to the first element you could use myStorageObject[0] := 10.0; and to assign a value to the 3rd element you could use myStorageObject[2] := 38.5;
Parameters
offset |
integer value (0 or positive offset into what is essentially an array of elements) |
aData |
double value to be assigned to the storage object at the assigned element |