OpenersNotesSection(Spacer1)Details

The valid default values for the first argument in (RefLink[Random, paclet:ref/Random]) are (RefLink[Real, paclet:ref/Real]), (RefLink[Integer, paclet:ref/Integer]), and (RefLink[Complex, paclet:ref/Complex]).

(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::randt].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

The default definition of (RefLink[Random, paclet:ref/Random]) generates a message if the first element is anything other than (RefLink[Real, paclet:ref/Real]), (RefLink[Integer, paclet:ref/Integer]), or (RefLink[Complex, paclet:ref/Complex]):

Random[Positive]