AELEMENT( ) Function

Returns the number of an array element from the element's subscripts.

AELEMENT(ArrayName, nRowSubscript [, nColumnSubscript])



Specifies the name of the array whose element number you want to return.


Specifies the row subscript. If the array is one-dimensional, AELEMENT( ) identically returns nRowSubscript.

If you include just nRowSubscript and it is greater than the number of rows in the array, Visual FoxPro generates an error message.


Specifies the column subscript. If the array is two-dimensional, include both nRowSubscript and nColumnSubscript.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also

© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic