PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Reverses the content of a one-dimensional array.
Versions 21 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 21
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
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 : wd250vm.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