AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de colas, pilas, listas y arrays / Funciones de arrays
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Reverses the content of a one-dimensional array.
Example
arrAscendingArray is array of int
arrAscendingArray = [1,2,3,4,5,6,7,8,9,10]
// Reverses the array content
ArrayReverse(arrAscendingArray)
// The array contains [10,9,8,7,6,5,4,3,2,1]
Syntax
ArrayReverse(<WLanguage array>)
<WLanguage array>: Array
Name of the array variable to reverse. If this array contains several dimensions, only the first dimension is reversed.
Remarks
This function can be used on the associative arrays.
Component: wd290vm.dll
Versión mínima requerida
  • Versión 18
Comentarios
VOU ENSINAR COMO USAR O ARRAYREVERSE
VOU ENSINAR COMO USAR O ARRAYREVERSE

array_ordem is array of string
array_ordem = [1,2,3]
ArrayReverse(array_ordem)
FOR EACH _NUMERO OF array_ordem
Trace(_NUMERO)
END


// BLOG COM VIDEO E EXEMPLO

http://windevdesenvolvimento.blogspot.com.br/2017/06/aula-1185-cursowindev-011-array-aula.html

https://www.youtube.com/watch?v=-0wyUnTsAXk


De matos
23 06 2017

Última modificación: 26/05/2022

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