Why is this for loop not correct?
<p>Visual Studio is telling me that this for loop isn't correct.
Error Messages are: </p>

<blockquote>
  <ul>
  <li>type bool unexpected  </li>
  <li>ok is undeclared identifier  </li>
  <li>missing ; before }</li>
  </ul>
</blockquote>

<hr>

<p>infos:</p>

<blockquote>
  <p>-recordset.Select return a long -MoveNext a bool</p>
</blockquote>

<pre><code>for (size_t i = 0, bool ok = recordset.Select(Adress::getSQLStatement() + "Where A05.recid = %ld", i); ok; ok = recordset.MoveNext(), i++) {
    at(i).Save(recordset);
}
</code></pre>