|
|
|
|
|
<Array>.Count (Function) In french: <Tableau>.Occurrence Returns: - the number of elements in a one-dimensional array.
- the number of rows in a two-dimensional array.
- the number of elements found in the first dimension of a three-dimensional or N-dimensional array.
MonTableau is array of 2 strings
MonTableau.Insert(1, "WINDEV")
MonTableau.Insert(2, "WEBDEV")
MonTableau.Insert(3, "WINDEV et WEBDEV")
Trace(MonTableau.Count())
MonTableau is array of 2 by 3 strings
MonTableau.InsertLine(1, "A", "B", "C")
MonTableau.InsertLine(2, "D", "E", "F")
Trace(MonTableau.Count())
Syntax
<Result> = <WLanguage array>.Count()
<Result>: Integer - Number of elements found in the array if <WLanguage array> is a one-dimensional array.
- Number of rows found in the array if <WLanguage array> is a two-dimensional array.
- Number of elements found in the first dimension of the array if <WLanguage array> is a three-dimensional (or N-dimensional) array.
<WLanguage array>: Array Name of the Array variable to use.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|