ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Queue, stack, list and array functions / Array functions
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
Minimum version required
  • Version 18
This page is also available for…
Comments
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 Jun. 2017

Last update: 05/26/2022

Send a report | Local help