RandG.intRange

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

class RandG
int
intRange
(
int begin
,
int end
)

Parameters

begin int

lower closed bound of the interval

end int

upper open bound of the interval

Return Value

Type: int

a random number

Meta