- Joined
- Nov 30, 2007
- Messages
- 1,202
if I got a number series, can I somehow retrive a random nuber from this w/o indexing them?
0
1
2
null
null
5
...
is the only way:
loop
set random = GetRandomInt(0,5)
exitwhen random != null
endloop
Suppose one way would be...
[Number][Positon] =>
[0][ 0]
[1][ 1]
[2][ 2]
[3][-1]
[4][-1]
[5][ 3]
0
1
2
null
null
5
...
is the only way:
loop
set random = GetRandomInt(0,5)
exitwhen random != null
endloop
Suppose one way would be...
[Number][Positon] =>
[0][ 0]
[1][ 1]
[2][ 2]
[3][-1]
[4][-1]
[5][ 3]