rand
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | rand [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: rand.txt,v 1.2 2006/08/19 06:07:20 sthalik Exp $ | ||
+ | ======Synopsis: | ||
+ | $__rand__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * If < | ||
+ | * Otherwise, a " | ||
+ | * If < | ||
+ | * Otherwise, the return value is "as if" you had done the following: \\ ${rand(0) % < | ||
+ | |||
+ | For an overview of what a " | ||
+ | |||
+ | ======Practical: | ||
+ | If you don't know what random numbers are good for, then don't worry about | ||
+ | this function. | ||
+ | don't need to have this explained to you. ;-) | ||
+ | |||
+ | ======Returns: | ||
+ | If < | ||
+ | If < | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $rand(50) | ||
+ | $rand(0) | ||
+ | $rand() | ||
+ | </ | ||
+ | |||
+ | ======History: | ||
+ | This function first appeared in ircII. | ||
rand.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1