Overview
The \getrandomnumber command provides a mechanism to create a macro initialized to a random value.
Example
The following example produces a random number between 1 and 10.
\starttext \getrandomnumber \n {1} {10} \n \stoptext
The \getrandomnumber command provides a mechanism to create a macro initialized to a random value.
The following example produces a random number between 1 and 10.
\starttext \getrandomnumber \n {1} {10} \n \stoptext