Rand.intRange

int intRange(int begin, int end)

Returns the next random #gint32 from rand_ equally distributed over the range [begin..end-1].

Parameters

beginlower closed bound of the interval
endupper open bound of the interval

Returns

a random number