Matt, I think I'll just give up on the dynamic array idea, as too ambitious.
How about this instead: you could come up with some sort of external template and 'generator' tool, perhaps in Python, that would generate specific instances of your 'array library' on demand (of an end- user)? Something like: make_large_array myarray1 dword 800 > myarray1.jal make_large_array myarray2 byte 2048 > myarray2.jal This would give us the ultimate in efficiency, and also the ability for multiple arrays of various sizes. But if you prefer to stick with your original approach, may I suggest that you cut and paste it into 3 different libraries, one for each: byte, word, and dword? This would allow you to streamline the code and make it easier to understand and maintain. William --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
