From WikiPrizm
Revision as of 14:29, 29 February 2012 by Turiqwalrus (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Outputs a random integer given lower and upper bounds. This function can also output a list of random numbers if an optional third argument is added


RanInt#(<Lower bound>,<Upper bound>,<number of elements(optional)>)


RanInt#(1,15) → A //stores a random number from 1 to 15 in the variable A

RanInt#(1,15,5) → List 1 //stores a list containing five random numbers from 1 to 15 into 'List 1'