uniq_array.2

tmi2_fluffos_v2/lib/doc/functions/simul_efuns/uniq_array.2 · 517 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

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

Site Stats

Snippets: 1791
Codebases: 571