I would like to load an Array with values (the code below assigns a value to the s array(objData.s(1,0), then assigns this value to "XValue" which I want loaded into the array as separate points. I then want to view the high value & the low value of these 25 points within the array. How 2?


Dim MeasurePoint As Single
Dim XValue As Single

Dim MyArray(1 To 25)
For MeasurePoint = 1 To 25
MLString "VT 1,0,0,-1,0,0,CO"
XValue = objData.s(1, 0)
MyArray(MeasurePoint) = XValue
Next MeasurePoint



Dim HighRetrieval As Single
Dim LowRetrieval As Single
HighRetrieval = UBound(MyArray)
LowRetrieval = LBound(MyArray)