SHUFFLE(2) Icon Program Library SHUFFLE(2) NNNNAAAAMMMMEEEE shuffle - shuffle string or list DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN The procedure sssshhhhuuuufffffffflllleeee((((xxxx)))) shuffles a string or list. In the case that xxxx is a string, a corresponding string with the characters randomly rearranged is produced. In the case that xxxx is a list, the values in the list are randomly rearranged. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCC Run-time time error 102 occurs if xxxx is not a list, a string, or a value that can be converted to a string. SSSSEEEEEEEE AAAALLLLSSSSOOOO Griswold, Ralph E. and Madge T. Griswold. _T_h_e _I_c_o_n _P_r_o_g_r_a_m_- _m_i_n_g _L_a_n_g_u_a_g_e, Prentice-Hall, Inc., Englewood Cliffs, New Jersey, 1983. p. 187. AAAAUUUUTTTTHHHHOOOORRRRSSSS Ward Cunningham and Ralph E. Griswold Version 5.9 The University of Arizona - 7/29/84 1