title: pop-up doesn't display as expected when using function
body: <p>I have a PowerShell script that displays a pop-up with title as "Final Report":</p>
  
  <pre class="lang-psh prettyprint-override"><code>$c = new-object -comobject wscript.shell
  $d = $c.popup("Report saved in " + $filename,0,"Final Report",1)
  </code></pre>
  
  <p>But when I create a function and invoke it to do the same thing:</p>
  
  <pre><code>function popUp($text,$title) {
      $a = new-object -comobject wscript.shell
      $b = $a.popup($text,0,$title,0)
  }
  
  popUp("Report saved in " + $filename,"Final Report")
  </code></pre>
  
  <p>The pop-up has a blank title, no "Final Report".</p>
  
  <p>I know I'm using the correct syntax, based on <a href="http://ss64.com/vb/popup.html" rel="nofollow">http://ss64.com/vb/popup.html</a>.</p>
  
  <p>What is missing?</p>