ComponentOne True DataControl 8.0
Get Method (XArrayDB)

Syntax

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)

 

 


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

Product Support Forum  |  Documentation Feedback