XArrayDB Reference > XArrayDB Object Methods > Get Method (XArrayDB) |
Get Method (XArrayDB)
The Get method provides an alternate way of retrieving a value from an XArrayDB element.
XArrayDB.Get row, column, var
Arguments
row and column are long integer indexes identifying a particular array element.
var is a variable that receives a variant value from the specified array element.
Return Value
None
Method applies to XArrayDB object.
You can use this method in scripting engines that do not properly resolve the default Value property of XArrayDB.
The var argument receives the variant value of the XArrayDB element specified by the row and column indexes.
Example
The three statements following the variable declaration are all equivalent:
Dim var As Variant
MyArray.Get x, y, var
var = MyArray.Value(x, y)
var = MyArray(x, y)
See Also