random-integers ( length n -- sequence )
Generating random integers

Prev:random-bytes ( n -- byte-array )
Next:random-units ( length -- sequence )


Vocabulary
random

Inputs
lengthan integer
nan integer


Outputs
sequencean array


Word description
Outputs an array with length random integers from [0,n).

Examples
USING: prettyprint random ; 10 100 random-integers .
{ 32 62 71 89 54 12 57 57 10 19 }


Definition