lrand - luxembourg/muxcode-clm GitHub Wiki

LRAND()

FUNCTION: lrand(<lower>,<upper>,<count>,[,<output delim>])

Returns a list with <count> elements separated by <output delim> (or a space if not specified) of random numbers between <lower> and <upper>.

For instance, 'lrand(3, 6, 5)' would generate five random numbers in the range 3 - 6 (i.e., 3, 4, 5, or 6), such as '4 6 3 5 6'.

Related Topics: die, lnum, pickrand, rand, shuffle