Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Name

qra — Quick random draw

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

qra from to [int]

Description

Make a uniform random draw between two values. Result in [gvar ran]. To assign it to a TCL variable do: set result [gvar ran]. A complete set of random functionality is in the MonteCarlo module.

Arguments

from to

Make a random draw between the values from and to.

int

The result will be an integer.

See also

mak ran, mak ras