|
SYNOPSIS
<randpick $var>
DESCRIPTION The randpick function returns a single randomly-selected value
of $var, as a string.
DIAGNOSTICS The randpick function returns a single randomly-selected value
of $var, as a string.
EXAMPLE
<$colors = red orange yellow green blue violet>
<randpick $colors>
Roses are $ret.
The output might be:
Roses are green.
CAVEATS The randpick function was added Nov. 7 1996.
SEE ALSO
rand, srand
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|