411 REFERENCE · Wikibooks
Rebol Programming/random
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
RANDOM value /seed /secure /only
DESCRIPTION:
Returns a random value of the same datatype.
RANDOM is an action value.
ARGUMENTS
value -- Maximum value of result (Type: any)
REFINEMENTS
/seed -- Restart or randomize
/secure -- Returns a cryptographically secure random number.
/only -- Return single value from series.
SOURCE CODE
random: native[
"Returns a random value of the same datatype."
value "Maximum value of result"
/seed "Restart or randomize"
/secure "Returns a cryptographically secure random number."
/only "Return single value from series."
]