Random pool WINDEV WEBDEV WINDEV Mobile Others Returns a random number.Versions 15 and later This function is now available for Android applications.New in version 15 This function is now available for Android applications. This function is now available for Android applications.Versions 17 and later This function is now available for iPhone/iPad applications.New in version 17 This function is now available for iPhone/iPad applications. This function is now available for iPhone/iPad applications.Versions 18 and later This function is now available in Android Widget mode. This function is now available in Windows Store apps mode.New in version 18 This function is now available in Android Widget mode. This function is now available in Windows Store apps mode. This function is now available in Android Widget mode. This function is now available in Windows Store apps mode.Versions 21 and later This function is now available in Universal Windows 10 App mode.New in version 21 This function is now available in Universal Windows 10 App mode. This function is now available in Universal Windows 10 App mode.Versions 26 and later This function is now available for Apple Watch applications.New in version 26 This function is now available for Apple Watch applications. This function is now available for Apple Watch applications.Example // Retrieve a real included between 0 and 1ResRandom = Random()// Retrieve an integer included between 1 and 33ResRandom = Random(33)// Retrieve an integer included between 7 and 21ResRandom = Random(7, 21) Syntax Retrieving a random number included between 0 and 1 = Random() : RealRandom number included between 0 and 1. Retrieving a random number included between 1 and a value = Random() : IntegerRandom number included between 1 and a specified value (inclusive). : IntegerUpper bound of the number returned (value included between 1 and 2 147 483 647). Retrieving a random number included between two values = Random( , ) : IntegerRandom number included between two specified values (inclusive). : IntegerLower bound of the number returned (value included between 0 and 2 147 483 647). : IntegerUpper bound of returned number (value included between 0 and 2 147 483 647). Remarks Random poolThe "pool" from which the random number is "chosen" can be initialized by InitRandom.If InitRandom is not called, the random values generated by Random will be the same for each program execution. InitRandom is not available because it is useless: the random values generated by Random will be different for each program execution. Business / UI classification: Neutral codeComponent: wd260std.dll Minimum version required Version 9 This page is also available for…