SnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="highlight-keyword">var</span> DictT = host.comType(<span class="highlight-literal">'Scripting.Dictionary'</span>);
<span class="highlight-keyword">var</span> dict = host.newObj(DictT);
dict.Add(<span class="highlight-literal">'foo'</span>, <span class="highlight-number">123</span>);
dict.Add(<span class="highlight-literal">'bar'</span>, <span class="highlight-number">456.789</span>);
dict.Add(<span class="highlight-literal">