XArrayDB Reference > XArrayDB Members > XArrayDB Object Methods > Get Method (XArrayDB) |
XArrayDB.Get row, column, var
Method applies to XArrayDB object.
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
Description
The Get method provides an alternate way of retrieving a value from an XArrayDB element. 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)