MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | |
| 2 | ********************************************************** |
| 3 | * ACHTUNG: EFUN EXISTIERT NICHT MEHR! NICHT VERWENDEN! * |
| 4 | ********************************************************** |
| 5 | |
| 6 | SYNOPSIS: |
| 7 | int member_array(mixed item, mixed *arr) |
| 8 | int member_array(mixed item, string arr) |
| 9 | |
| 10 | DESCRIPTION: |
| 11 | DO NOT USE THIS EFUN - IT HAS BEEN REMOVED FROM THE DRIVER! |
| 12 | Returns the index of the first occurence of item in array arr, |
| 13 | or occurence of a character in a string. If not found, then -1 |
| 14 | is returned. |
| 15 | |
| 16 | If you want to search through an alist, use assoc() because |
| 17 | member_array() is good for unsorted but assoc() is faster for |
| 18 | sorted arrays. |
| 19 | |
| 20 | In LDMud this efun is temporarily a simulated efun until is finally |
| 21 | droppped. |
| 22 | |
| 23 | HISTORY |
| 24 | Superseeded by member(). |
| 25 | Removed in LDMud 3.3. |
| 26 | |
| 27 | SEE ALSO: |
| 28 | alists(LPC), mappings(LPC), assoc(E), slice_array(E) |
| 29 | |
| 30 | 11.11.2006 Zesstra |