View Single Post
  #4  
Old 12-04-2002, 10:21 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
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.
__________________
Reply With Quote