Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Adron on January 23, 2004, 03:25 PM

Title: Collections
Post by: Adron on January 23, 2004, 03:25 PM
How do you use collections with keys?

I'm having trouble with searching for an object in a collection and inserting it if it's missing. I don't like having errors happen routinely, because that completely messes up the "break on error" functionality of the IDE.
Title: Re:Collections
Post by: SPY-3 on August 27, 2004, 09:26 AM
Quote from: Adron on January 23, 2004, 03:25 PM
How do you use collections with keys?

I'm having trouble with searching for an object in a collection and inserting it if it's missing. I don't like having errors happen routinely, because that completely messes up the "break on error" functionality of the IDE.

explain better what you mean.
Title: Re:Collections
Post by: Adron on August 27, 2004, 11:09 AM
I don't know a way of looking for an item in a collection that might not exist without possibly triggering an error. I'd like to be able to look for an item and get a status on whether it exists or not. I'd like to be able to do this without trapping an error, because trapping an error is bad.