Re: code-block
- Posted by Michael Nelson <MichaelANelson at WORLDNET.ATT.NET> Sep 10, 2000
- 387 views
Matt Lewis wrote: > function rand_not( integer x ) > integer r > r = rand( max-1 ) > if r >= x then r += 1 end if > return r > end function > Why didn't I think of that--excellent fast code. -- Mike Nelson