@rand_int(int)
returns a random integer between 0 and its argument (excluded). This is not a pure function because two calls with the same argument are likely to return different results.

See also Random Generators @rand,    @rand_int,    @random,    @rnd_bernoulli,    @rnd_binomial,    @rnd_exponential,    @rnd_gamma,    @rnd_geometric,    @rnd_normal,    @rnd_uniform_float,    @rnd_uniform_int