title: VBscript with lists
body: <p>I am trying to write a VBScript which will read a text file and build a dictionary which contains lists. Let me explain with an example:</p>
  
  <p>The input file would be a simple text file of the sort:</p>
  
  <pre><code>Male,Peter
  Male,Chris
  Male,Stewie
  Male,Brian
  Female,Lois
  Female,Meg
  </code></pre>
  
  <p>When I run my script, I would like a dictionary with the first column as the key, and the second column as the values</p>
  
  <pre><code>{'Male':['Peter,Chris,Stewie,Brian']}
  {'Female':['Lois,Meg']}
  </code></pre>
  
  <p>The lack of dynamic arrays or lists in VBScript is making this a real pain. Any suggestion how I might tackle this? </p>
  
  <p>Cheers</p>