Thank you Ernest,
And yes it does help very much. Next on the learning curve is hashmaps. The objects all have the same base class so I may adjust things to make it easier. Its just a matter of working out exactly what has to happen.
I was intending to use a database for something else, but after re-reading your post a few times you gave me an idea.
Can multiple maps be used to store a reference to code that will be chosen from at run-time? Like maybe handed to a new
thread while the main one is halted to wait for the return? Even if the reference was just to a file location containing the code.
With something like that I could avoid using (learning about) a database entirely and store everything in a seperate file.
Then again the size could run to a few hundred entries, is that an acceptable overhead for the map?
My turn to think out loud.
Scott