Special.ResetRandom
ResetRandom

Resets the random sequence of numbers returned by Special:Random and Special:GetNext.

bSuccess = mySpecial.ResetRandom( )

Return value
TRUE if successfull, otherwise FALSE.

Comments

Every time a random number is returned, an internal value is incremented. This function resets this value, meaning that after it's use, the same sequence of "random" numbers will be returned again.
Note that changing the seed will automatically reset this value.

See also
Special:Randomize
Special:SetSeed
Special:GetSeed



JAM © 2005 no one in partiular
Project started by David Evans in 2005