Subversion Repositories wimsdev

Rev

Rev 4366 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4366 Rev 5903
Line 12... Line 12...
12
:shuffle( )
12
:shuffle( )
13
shuffle(6)
13
shuffle(6)
14
a list of 6 integers 1,2,...,6, in a random order.
14
a list of 6 integers 1,2,...,6, in a random order.
15
:shuffle( , )
15
:shuffle( , )
16
shuffle(a,b,c,d,e)
16
shuffle(a,b,c,d,e)
17
the list of letters {a,b,c,d,e}, in a random order. <span class="wims_warning">$wims_name_warning</span>, if the first word of the list is <tt class="wims_code_words">even</tt> or <tt class="wims_code_words">odd</tt>, the permutation will be respectively even or odd (so these words can not be the first word of the list to permute).
17
the list of letters {a,b,c,d,e}, in a random order. <span class="wims_warning">$wims_name_warning</span>, if the first word of the list is <span class="tt wims_code_words">even</span> or <span class="tt wims_code_words">odd</span>, the permutation will be respectively even or odd (so these words can not be the first word of the list to permute).
18
:randomitem( )
18
:randomitem( )
19
randomitem(\list)
19
randomitem(\list)
20
a random item of (comma-separated) \list.
20
a random item of (comma-separated) \list.
21
:randomrow( )
21
:randomrow( )
22
randomrow(\mat)
22
randomrow(\mat)