====== rand ======
===== Description =====
Get a random integer.
===== Function prototype =====
int rand
===== Arguments =====
None.
===== Return value =====
An integer random number, in the range of 0...0x7FFFF.
===== Example =====
// write random number to event log 10 times
int i
set i 0
do
echo
incr i
while
... the output of which is written to the event log by [[plugins:general:zeoscript:reference:functions:echo]] as:
41
18467
6334
26500
19169
15724
11478
29358
26962
24464
===== Comments =====
None.
===== See also =====
* [[plugins:general:zeoscript:reference:functions:srand]]
* [[plugins:general:zeoscript:reference:functions:frand]]
* [[plugins:general:zeoscript:reference:functions:absrand]]