Command/getrandomnumber

From Wiki
< Command
Revision as of 08:11, 31 March 2014 by Thangalin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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>