S
scott_auge
Guest
I think you are underestimating the number of computation .indexOf() has. But an object could be created: A = new WhatChaMaCallit(myArray). D = A:indexOf("D") L = A:lengthOf() etc. Using a temp-table in it instead of an array, allows more flexibility, the constructor simply walks the array and make a record for each element. Then ya could: A:Add("F") A:Remove("D") etc.
Continue reading...
Continue reading...