PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
This content comes from an automatic translation.
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
Warning
From version 25 (81), ArrayMix is kept for backward compatibility. This function is replaced by ArrayShuffle.
Shuffles the elements of a WLanguage array.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
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.
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.
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 Android applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Example
// Initialize shuffle
InitRandom()
 
// Fill the array
PlayList is array of strings
...
 
// Shuffle the array elements
ArrayShuffle(PlayList)
Syntax
ArrayShuffle(<WLanguage array>)
<WLanguage array>: Array variable
WLanguage array to use. This array can contain from 1 to N dimensions.
Remarks
  • The array element shuffle is based on the generation of random numbers. The InitRandom function must be used to reset the mixture.
  • This function cannot be used on the associative arrays.
  • If the array includes several dimensions, the shuffle is performed through the different dimensions.
Component : wd250vm.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment