UNIQ_ARRAY(2) SYSTEM CALLS UNIQ_ARRAY(2)
NAME
uniq_array - "eliminates duplicate entries from an array
SYNOPSIS
mixed *uniq_array(mixed *arr);
DESCRIPTION
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 }).
AUTHOR
Ichabod@TMI, 3/19/93
MudOS Release 0.9 Last change: 3-19-93