title: Scripting.Dictionary Lookup-add-if-not-present with only one key search?
body: <p>I am looking up keys in a <code>Scripting.Dictionary</code> to make sure I add them (and their items) only once to the dictionary:</p>
  
  <pre><code>If MyDict.Exists (Key) Then ' first internal key-value lookup
    Set Entry=MyDict.Item (Key)  ' Second internal key-&gt;value lookup
  else
    Set Entry=New ItemType
    MyDict.Add Key,Entry
  End If
  ' Now I work on Entry...
  </code></pre>
  
  <p><code>Exists</code> looks up the key in the dictionary, and <code>Item ()</code> does it, too. So i get two key lookups for one logical lookup operation. Isn't there a better way?</p>
  
  <p>The dox for the <code>Item</code> property say </p>
  
  <blockquote>
    <p>"If key is not found when attempting to return an existing item, a new
    key is created and its corresponding item is left empty."
     (<a href="http://msdn.microsoft.com/en-us/library/84k9x471%28v=VS.85%29.aspx" rel="nofollow">MSDN</a>)</p>
  </blockquote>
  
  <p>This is true, i.e. looking up a non-existant key obviously makes this key part of the dictionary, probably with associated item = empty.
  But what is that good for? <strong>How could I use this to boil it down to one lookup operation?</strong> How can I set the empty item after creating the key during the <code>Item ()</code> property call?</p>