Lrand()

From TinyMUX
Jump to navigation Jump to search

Description

FUNCTION: 20px-Function.png 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.

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

Examples

Generate five random numbers between 3 and 6
> say lrand(3, 6, 5)
You say, "5 3 4 6 3"

(--Soylent 01:21, 3 December 2005 (EST))