Rev 5766 | Rev 11210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5766 | Rev 5921 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !! +var+ +random+ |
1 | !! +var+ +random+ |
2 | $lst_tit randint$lst_titend$type_var |
2 | $lst_tit randint$lst_titend$type_var |
3 | $(lst_syntax)randint $emph n1$emphend ,$emph n2$emphend</ |
3 | $(lst_syntax)randint $emph n1$emphend ,$emph n2$emphend</span> |
4 | $lst_mean Returns a random integer between $emph n1 $emphend and $emph |
4 | $lst_mean Returns a random integer between $emph n1 $emphend and $emph |
5 | n2 $emphend (inclusive). <br/> |
5 | n2 $emphend (inclusive). <br/> |
6 | Substitution and evaluation are done on $emph n1 $emphend and $emph n2 |
6 | Substitution and evaluation are done on $emph n1 $emphend and $emph n2 |
7 | $emphend before applying random. <br/> |
7 | $emphend before applying random. <br/> |
8 | If $emph n2 $emphend is missing, returns random integer between $(m_pm)1 and |
8 | If $emph n2 $emphend is missing, returns random integer between $(m_pm)1 and |
9 | $emph n1 $emphend (inclusive). <br/> |
9 | $emph n1 $emphend (inclusive). <br/> |
10 | If both $emph n1 $emphend and $emph n2 $emphend are missing, returns 0. |
10 | If both $emph n1 $emphend and $emph n2 $emphend are missing, returns 0. |
11 | <br/> |
11 | <br/> |
12 | You can also type <tt>!randint n1, |
12 | You can also type <span class="tt">!randint n1,n2 repeat i</span> to repeatedly generate |
13 | $emph i$emphend random integers. |
13 | $emph i$emphend random integers. |
14 | - |