PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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 19 and later
Windows Mobile This function is now available for the Windows Mobile applications.
New in version 19
Windows Mobile This function is now available for the Windows Mobile applications.
Windows Mobile This function is now available for the Windows Mobile applications.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Browser code This function is now available in browser code.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Browser code This function is now available in browser code.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Browser code This function is now available in browser code.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Example
arrAscendingArray is array of integers
arrAscendingArray = [1,2,3,4,5,6,7,8,9,10]
// Reverses the content of the array
ArrayReverse(arrAscendingArray)
// The array contains [10,9,8,7,6,5,4,3,2,1]
Syntax
ArrayReverse(<Array>)
<Array>: Array
Name of the array to reverse. If this array contains several dimensions, only the first dimension is reversed.
Remarks
This function can be used on the associative arrays.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
WEBDEV - Browser code WDJS.DLL
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • 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
Jun. 23 2017