rnd() question
Posted: Wed Nov 05, 2014 6:26 pm
Example:
varsleep = 0
10 d1 = int(RND * 6 + 1)
print d1
11 varsleep = varsleep + 1
pause(.1)
if varsleep = 10 then goto 13
12 goto 10
13 print "done!"
Hi! Why do I get ten 1s instead of pseudo-random dice rolls each time I execute?
varsleep = 0
10 d1 = int(RND * 6 + 1)
print d1
11 varsleep = varsleep + 1
pause(.1)
if varsleep = 10 then goto 13
12 goto 10
13 print "done!"
Hi! Why do I get ten 1s instead of pseudo-random dice rolls each time I execute?