Storage Mode > Using the XArrayDB Object > Populating an XArrayDB Object |
To set or retrieve an element of an XArrayDB object, use the Value property:
Example Title |
Copy Code
|
---|---|
MyArray.Value(x, y) = "A string"
s$ = MyArray.Value(x, y)
|
Since the Value property is the default property for XArrayDB, the preceding statements can be shortened to:
Example Title |
Copy Code
|
---|---|
MyArray(x, y) = "A string"
s$ = MyArray(x, y)
|