Error Messages/40498

< Error Messages
Revision as of 19:53, 25 January 2010 by AManandhar (talk | contribs) (Created page with '= 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 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 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.



You are not allowed to post comments.

Comments
<comments />