ComponentOne True DataControl 8.0
Set Method (XArrayDB)

Syntax

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"

 

 


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

Product Support Forum  |  Documentation Feedback