martin webster wrote:
So are you saying, I cannot query an entry in the exceptions dictionary without first knowing what it is?.
Correct. Which makes sense if you think about the point of an exception dictionary. The idea is to take make one word sound like another. The DECtalk used to be infamous for pronouncing the Indiana city Muncie as Monkey. Being from that area, I'm not sure I disagree with the mis-pronouncement, but it is technically incorrect. So you would add Muncie as the original word, and something like Munsee as the replacement (a.k.a. translation).
From a scripting standpoint, you're really only interested modifying translation information, and you can do that with the current implementation by using the word as the Item string parameter. You can also add new entries using the Add method, delete using Delete, and so on. If you don't know what dictionary the word you're interested is in, you can use the ExceptionDictionaries Lookup method to find it.
All that being said, I don't think we implemented dictionaries correctly in relation to all the other collections we have. I'm going to propose that we add an additional method to the dictionary objects called Index, which will behave like Item should have behaved. That way, if you want to provide your own UI for listing all dictionary entries (or some other reason of accessing an entry that you know nothing about), you'll be able to.
Aaron -- To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the GW Micro Technical Support Team. Aaron Smith GW Micro Phone: 260/489-3671 Fax: 260/489-2608 WWW: http://www.gwmicro.com FTP: ftp://ftp.gwmicro.com Technical Support & Web Development
