
12-04-2002, 10:21 AM
|
|
Script Monkey
|
 |
Join Date: May 2001
Posts: 18,222
|
|
|
I don't know if it's completely necessary - it seems a little high-level for me - but if it were to be implemented then it'd need to preserve backwards compatibility. So if this were used:
this.array={0,1,4,2,1,3};
this.indices=indexof(1,this.array);
then this.indices would need to contain 1/{1,4} instead of 0/{1,4}. You probably thought of that already but it wasn't clear in your example. |
__________________
|
|
|
|