ComponentOne List 8.0 for ActiveX
Set Method (XArrayDB)

 

Set Method (XArrayDB)

The Set method provides an alternate way of assigning a value to an XArrayDB element.

Syntax

XArrayDB.Set row, column, value

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

Remarks

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 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"

See Also

XArrayDB Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback