OpenersNotesSection(Spacer1)Details

The second argument in (RefLink[Random, paclet:ref/Random]) is expected to be either a number or a list of two numbers.

(RefLink[Off, paclet:ref/Off])[message] switches off the message; (RefLink[On, paclet:ref/On])[message] switches it on. For example: (RefLink[Off, paclet:ref/Off])[Random::randn].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

If the second element in (RefLink[Random, paclet:ref/Random]) is a list, that list should give both endpoints for the range of random numbers:

Random[Integer, {10}]

This generates a random integer between zero and ten:

Random[Integer, {0, 10}]