Difference between revisions of "Command/getrandomnumber"

From Wiki
Jump to navigation Jump to search
m (Created page with "= Overview = The {{cmd|getrandomnumber}} command provides a mechanism to create a macro initialized to a random value. = Example = <textcode source="yes"> \starttext \getran...")
(No difference)

Revision as of 08:11, 31 March 2014

Overview

The \getrandomnumber command provides a mechanism to create a macro initialized to a random value.

Example

<textcode source="yes"> \starttext

 \getrandomnumber \n {3} {5}
 \n

\stoptext </textcode>