Actions
$rand » History » Revision 1
Revision 1/5
| Next »
Per Amundsen, 08/11/2015 10:49 AM
Added in 1.9.0
$rand(v1,v2)
Returns a random number or letter between v1 and v2.
Same as $r.
Parameters
v1 - Start number or letter [0-9A-Za-z].
v2 - End number or letter [0-9A-Za-z].
Example
; Get a random number between 10 and 100. //echo -ag $rand(10,100) ; Get a random letter between g and y. //echo -ag $rand(g,y)
Updated by Per Amundsen over 9 years ago · 1 revisions