XArrayDB Reference > XArrayDB Members > XArrayDB Object Methods > Set Method (XArrayDB) |
XArrayDB.Set row, column, value
Method applies to XArrayDB object.
Arguments
row and column are long integer indexes identifying a particular array element.
value is a variant to be assigned to the specified array element.
Return Value
None
Description
The Set method provides an alternate way of assigning a value to an XArrayDB element. You can use this method in scripting engines that do not properly resolve the default Value property of XArrayDB.
The value argument is the variant value to be assigned to the XArrayDB element specified by the row and column indexes.
Example
The following three statements are equivalent:
MyArray.Set x, y, "Hello"
MyArray.Value(x, y) = "Hello"
MyArray(x, y) = "Hello"