On Fri, Mar 16, 2012 at 12:59 PM, Mattias Gaertner <[email protected]> wrote: > Why use an integer to refer to an element?
Backwards compatibility. I have multiple libraries which offer an interface to an internal list and I designed all to offer array-access because this is convenient and is how TFPList works. I don't want to break backwards compatibility, so if this can't be added to the AVL tree I will need multiple copies of the AVL tree 2 array code. -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
