
UNIQ_ARRAY(2)              silmul_efun              UNIQ_ARRAY(2)

名称
     uniq_array - 删除阵列中重复的元素

语法
     mixed *uniq_array(mixed *arr);

描述
     This simul_efun returns an array that is  the  same  as  arr
     except with all duplicate entries removed.

     Example:

     arr = ({ 1, 2, 3, 4, 5, 4, 3, 2, 1 });

     uniq_array(arr) returns ({ 1,2,3,4,5 }).

作者
     Ichabod@TMI, 3/19/93
     wade@future 4/8/1996 翻译

MudOS Release 0.9         Last change:                   3-19-93

