|
|
1.1 root 1:
2:
3:
4: SHUFFLE(2) Icon Program Library SHUFFLE(2)
5:
6:
7:
8: NNNNAAAAMMMMEEEE
9: shuffle - shuffle string or list
10:
11: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
12: The procedure sssshhhhuuuufffffffflllleeee((((xxxx)))) shuffles a string or list. In the
13: case that xxxx is a string, a corresponding string with the
14: characters randomly rearranged is produced. In the case that
15: xxxx is a list, the values in the list are randomly rearranged.
16:
17: DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCC
18: Run-time time error 102 occurs if xxxx is not a list, a string,
19: or a value that can be converted to a string.
20:
21: SSSSEEEEEEEE AAAALLLLSSSSOOOO
22: Griswold, Ralph E. and Madge T. Griswold. _T_h_e _I_c_o_n _P_r_o_g_r_a_m_-
23: _m_i_n_g _L_a_n_g_u_a_g_e, Prentice-Hall, Inc., Englewood Cliffs, New
24: Jersey, 1983. p. 187.
25:
26: AAAAUUUUTTTTHHHHOOOORRRRSSSS
27: Ward Cunningham and Ralph E. Griswold
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63: Version 5.9 The University of Arizona - 7/29/84 1
64:
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.