Hi Kevin,
Quote:
Originally Posted by KevinH
They need not be meaningful and most are not. That said, as a compromise, how about the following:
1. since their idrefs must be unique for them simply add a very short prefix to theirs such as "x_" or some other short prefix (this is guaranteed to keep theirs unique). This will also guarantee that their idrefs do not overlap with our itemXXXXX idrefs.
2. Remove all of the "set" code and unique id code and simply replace it all with something similar to the following pseudo code.
This guarantees uniqueness, allows you to see the meaningful names but is so simple no block of uniqueness code is needed making the code as simple as possible.
How does that sound?
|
It is good.
I am glad for your cooperation.
Take care,
tkeo