title: 'Expected expression' errors
body: <p>I'm getting Expected expression errors on the following code:</p>
  
  <pre><code> (void) for(t; t &lt; kPlatformsStartTag + kNumPlatforms; t++) { //error here
   CCSprite *platform = (CCSprite*)[batchNode getChildByTag:t];
  
  CGSize platform_size = platform.contentSize;
  CGPoint platform_pos = platform.position;
  
  max_x = platform_pos.x - platform_size.width/2 - 10;
  min_x = platform_pos.x + platform_size.width/2 + 10;
  float min_y = platform_pos.y + (platform_size.height+bird_size.height)/2 - kPlatformTopPadding;
  
  if(bird_pos.x &gt; max_x &amp;&amp;
     bird_pos.x &lt; min_x &amp;&amp;
     bird_pos.y &gt; platform_pos.y &amp;&amp;
     bird_pos.y &lt; min_y) {
      [self jump];
      }
  }
  
   (void) for(t; t &lt; kCloudsStartTag + kNumClouds; t++) { //error here
  CCSprite *cloud = (CCSprite*)[batchNode getChildByTag:t];
  CGPoint pos = cloud.position;
  pos.y -= delta * cloud.scaleY * 0.8f;
  if(pos.y &lt; -cloud.contentSize.height/2) {
  currentCloudTag = t;
       [self resetCloud];
  } else {
      cloud.position = pos;
      }
  }
  </code></pre>
  
  <p>The error is found where the "for" code is.  I put the (void) code in because I will get an Expression result unused error.  Any ideas?</p>