title: Creating a Multidimensional, Associative Array in VBScript
body: <p>Is it possible to create a multidimensional, associative array in VBScript?</p>
  
  <p>I'm trying to recreate the following JScript code in VBScript:</p>
  
  <pre><code>names["teachers"] = ["Helen","Judy","Carol"];
  names["students"] = ["George","John","Katie"];
  
  For (var i=0; i&lt;names["teachers"].length; i++) {
  
       Response.Write(names["teachers"][i]);
  
  }
  </code></pre>
  
  <p>My attempted VBScript:</p>
  
  <pre><code>dim names
  
  SET names = CreateObject("Scripting.Dictionary")
  
  names.Add "teachers", Array("Helen","Judy","Carol")
  names.Add "students", Array("George","John","Katie")
  </code></pre>
  
  <p>There doesn't seem to be an error creating the object, but I'm unable to figure out how I can loop through the arrays in VBScript.</p>