Class Module 22 Members ★ 1 Top 20

Random Values Class

Entisoft Tools 2.0 Object Library · RandomValues · 12 Functions · 0 Properties · 9 Subroutines

Showing 22 of 22
Declarations
Declarations
Generate pseudo-random values of different types. Copyright 1998 Entisoft
Section
RandomDoubleWithinExpRange
Random Double Within Exp Range
"Random Double Within Exponential Range " Returns a random Double number between vLower and vUpper inclusive. The randoms are generated with a frequency comparable to the area under an exponential curve, except that more numbers are generated near the bottom of the range instead of near the top of it.
Function
RandomDoubleWithinRange
Random Double Within Range
"Random Double Within Range " Returns a random Double number between vLower and vUpper inclusive. Random numbers will be distributed evenly within the range.
Function
RandomIntegerWithinExpRange
Random Integer Within Exp Range
"Random Integer Within Exponential Range " Returns a random Integer number between vLower and vUpper inclusive. The randoms are generated with a frequency comparable to the area under an exponential curve, except that more numbers are generated near the bottom of the range instead of near the top of it.
Function
RandomIntegerWithinRange
Random Integer Within Range
Returns a random Integer number between vLower and vUpper inclusive. Random numbers will be distributed evenly within the range.
Function
RandomLongArg
Random Long Arg
"Random Long With Argument" Generates a random Long (integer) number whose value is between MaxInteger + 1 and MaxLong - 1 inclusive. Forces the Microsoft Access Query optimizer to execute this function call for each row of the SQL UPDATE statement in which it is normally used; see below.
Function
RandomLongGenerator
Random Long Generator
"Random Long Number Generator" Generate a series of random numbers with OR without replacement and store them in a Variant array. Random numbers will be distributed evenly within the range. Returns True upon success and False upon failure.
Function
RandomLongWithinExpRange
Random Long Within Exp Range
"Random Long Within Exponential Range " Returns a random Long (integer) number between vLower and vUpper inclusive. The randoms are generated with a frequency comparable to the area under an exponential curve, except that more numbers are generated near the bottom of the range instead of near the top of it.
Function
RandomLongWithinRange
Random Long Within Range
Returns a random Long (integer) number between vLower and vUpper inclusive. Random numbers will be distributed evenly within the range.
Function
RandomLongWithinRangeFast
Random Long Within Range Fast
Returns a random Long (integer) number between vLower and vUpper inclusive. Random numbers will be distributed evenly within the range. Faster version of the RandomLongWithinRange function which uses the Visual Basic Rnd function and avoids argument fix-up and validation overhead.
Function
RandomString
Random String
Returns a random string whose length is between vMinLength and vMaxLength characters inclusive and which will be composed of the characters in string vAlphabet.
★ Top 20 Function
RandomStringFast
Random String Fast
Returns a random string whose length is between vMinLength and vMaxLength characters inclusive and which will be composed of the characters in string vAlphabet. Faster version of the RandomString function which has restrictive argument types and no argument validation.
Function
RandomVariant
Random Variant
"Random Value" or "Random Value Of Type" Returns a randomly-selected value of some type. The type can be specified or it too will be selected randomly if not specified.
Function
RandomIntegerWithinExpRangeTest
Random Integer Within Exp Range Test
View VB6 signature, parameters, and usage notes.
Sub
RandomIntegerWithinRangeVerify
Random Integer Within Range Verify
View VB6 signature, parameters, and usage notes.
Sub
RandomizeAgain
Randomize Again
Execute the Visual Basic Randomize statement to reinitialize the random number generator Note that the random number generator is initialized once when Entisoft Tools starts.
Sub
RandomLongGeneratorSample
Random Long Generator Sample
View VB6 signature, parameters, and usage notes.
Sub
RandomLongWithinRangeVerify
Random Long Within Range Verify
View VB6 signature, parameters, and usage notes.
Sub
RandomVariantSample
Random Variant Sample
View VB6 signature, parameters, and usage notes.
Sub
RndBitsVerify
Rnd Bits Verify
View VB6 signature, parameters, and usage notes.
Sub
RndBytesVerify
Rnd Bytes Verify
View VB6 signature, parameters, and usage notes.
Sub
RndVerify
Rnd Verify
View VB6 signature, parameters, and usage notes.
Sub