title: Groovy for loop with multiple counters?
body: <p>Following works in groovy - </p>
  
  <pre><code>for(def i=0;i&lt;10;i++)
      print i
  </code></pre>
  
  <p>But this which is valid in Java, C++ does not work in groovy - </p>
  
  <pre><code>for(def i=0,j=0;i&lt;10;i++,j++)
      print i + ' ' + j
  </code></pre>
  
  <p>Why? How to make this work?</p>