This may appear to be a bit strange .....but here we go
Documentation:
Rnd (Min As Int, Max As Int) As Int
Returns a random integer between Min (inclusive) and Max (exclusive).
I assume that inclusive means that the number will be included in the final random number generated. Does exclusive mean that it will NOT?
<code>
Dim xc As Int
Dim xx As Int
Dim Shuffel As List
Shuffel.Initialize
Shuffel.Add("25")
Shuffel.Add("200")
Shuffel.Add("50")
Shuffel.Add("75")
Shuffel.Add("100")
Shuffel.Add("5")
For xc = 1 To 6
BonusLine(xc) = ""
Next
xx = 1
Do While Shuffel.Size > 1
xc = Rnd(0,Shuffel.Size -1)
BonusLine(xx) = Shuffel.Get(xc)
Shuffel.RemoveAt(xc)
xx = xx + 1
Loop
BonusLine(6) = Shuffel.Get(0)
</code>
BonusLine(6) is ALWAYS the same as if that is not an option in the random number generation
Is that so?
Documentation:
Rnd (Min As Int, Max As Int) As Int
Returns a random integer between Min (inclusive) and Max (exclusive).
I assume that inclusive means that the number will be included in the final random number generated. Does exclusive mean that it will NOT?
<code>
Dim xc As Int
Dim xx As Int
Dim Shuffel As List
Shuffel.Initialize
Shuffel.Add("25")
Shuffel.Add("200")
Shuffel.Add("50")
Shuffel.Add("75")
Shuffel.Add("100")
Shuffel.Add("5")
For xc = 1 To 6
BonusLine(xc) = ""
Next
xx = 1
Do While Shuffel.Size > 1
xc = Rnd(0,Shuffel.Size -1)
BonusLine(xx) = Shuffel.Get(xc)
Shuffel.RemoveAt(xc)
xx = xx + 1
Loop
BonusLine(6) = Shuffel.Get(0)
</code>
BonusLine(6) is ALWAYS the same as if that is not an option in the random number generation
Is that so?