AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de colas, pilas, listas y arrays / Funciones de arrays
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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.
Note: This function can only be used on WLanguage arrays.
Ejemplo
MyArray is array of 2 strings
ArrayInsert(MyFile, 1, "WINDEV")
ArrayInsert(MyFile, 2, "WEBDEV")
ArrayInsert(MyArray, 3, "WINDEV and WEBDEV")
// Number of elements?
Trace(ArrayCount(MyArray)) // Displays 5
MyArray is array of 2 by 3 strings
ArrayInsertLine(MyArray, 1, "A", "B", "C")
ArrayInsertLine(MyArray, 2, "D", "E", "F")
// Number of rows?
Trace(ArrayCount(MyArray)) // Displays 4
Sintaxis
<Result> = ArrayCount(<WLanguage array>)
<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.
Componente: wd300vm.dll
Versión mínima requerida
  • Versión 10
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local