title: The operator < is undefined for the argument type(s) boolean, int
body: <p>I am new to processing and I am having trouble with this. I keep getting an error message for the bolded part of the code below. Is my syntax wrong?</p>
  
  <pre><code>void block(int x, int y, int s, color tinto) {
      fill(tinto);
      for (int i = 0; i &lt; 3; i++) {
          triple(x, y+i*s, s, tinto);
      }
      if (0 &lt; i &lt; 3 &amp;&amp; 6 &lt; i &lt; 9) {  // HERE
          tinto = 255;
      }
      else {
          tinto = tinto - 200;
      }
  }
  </code></pre>