index.2

tmi2_fluffos_v2/lib/doc/functions/simul_efuns/index.2 · 612 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

INDEX(2)                  SYSTEM CALLS                   INDEX(2)

NAME
     index - "returns position of target in array

SYNOPSIS
     int index(mixed target, mixed *array, int offset);

DESCRIPTION
     Returns  position  of   target   in   array,   starting   at
     array[offset].

     Examples:       // assuming object ob0, ob1, ob2;
        arr = ({ ob0, ob1, ob2, ob1 });
        index(ob1, arr, 0);  // returns 1
        index(ob2, arr, 0);  // returns 2
        index(ob1, arr, 2);  // returns 3

AUTHOR
     Ichabod@TMI, 2/22/93


MudOS Release 0.9         Last change:                   3-19-93

Site Stats

Snippets: 1791
Codebases: 571