title: Why is my for loop telling me Syntax error, insert "AssignmentOperator Expression"?
body: <p>I have some code, like so:</p>
  
  <pre><code>int batchPosition = new Integer(batchBegin);
  
  for (batchPosition;batchPosition&lt;=batchEnd;batchPosition++)
  </code></pre>
  
  <p>But I get this error in eclipse: </p>
  
  <pre><code>Syntax error, insert "AssignmentOperator Expression" to complete ForInit.
  </code></pre>
  
  <p>I've looked at various posts on SO about this error, and googled it but I can't figure out why this isn't allowed.</p>