title: for-loop with multiple variable declarations
body: <p>I'm pretty sure the following is legal in Java</p>
  
  <pre><code>for (int var1 = 2, var2 = 3; var1 &lt; 10; ++var1) {
    System.out.println(var1);
  }
  </code></pre>
  
  <p>But when I try to run it in the Groovy console, I get this error</p>
  
  <blockquote>
    <p>unexpected token: =</p>
  </blockquote>
  
  <p>Are multiple variable declarations unsupported by Groovy or is there another reason why this isn't allowed?</p>