distinct_array

foundationI_fluffos_v1/lib/doc/SimulEfun/distinct_array · 512 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

Nightmare Mudlib SimulEfun: distinct_array()

mixed *distinct_array(mixed *);

DESCRIPTION
Takes any sort of array and returns a similar array with all duplicate
members removed from the array so that each member occurrs only once
in the array.

EXAMPLES:
distinct_array( ({ "a", "b", "c", "a" })) returns ({"a", "b", "c"})

NOTE
This is the same as the Nightmare Mudlib 3.* SimulEfun uniq_array()
but was renamed due to confusion with the MudOS efun unique_array().

LOCATION
/secure/SimulEfun/distinct_array.c

Site Stats

Snippets: 1791
Codebases: 571