Error Messages/40498


Error message examples

 The first parameter, «dist», to Function Random, if specified, must be an explicit call to
 a distribution function that supports single samples, such as Uniform or Normal.
 
 For example, Random(Uniform(0, 100, integer: true)) would return a uniformly distributed
 integer between 0 and 100 inclusive.

Cause

You passed a value other than a distribution function to the «dist» parameter to the Random function.

Please click on the following link to see a few examples on using the Random function.

Remedies

Pass one of the distribution functions to the dist parameter to Random function. The «dist» parameter is an optional parameter and defaults to Uniform(0, 1) if not specified.

See Also

Comments


You are not allowed to post comments.