"Unexpected for" errorHi,
I'm sure this is an obvious error but I can't seem to find it. Whenever I run the following code I keep getting an 'unexpected for' error and I'm not sure why:
For <SPAN class="token punctuation">(</SPAN>m <SPAN class="token operator">=</SPAN> <SPAN class="token function">num</SPAN><SPAN class="token punctuation">(</SPAN>startRow<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> m <SPAN class="token operator"><=</SPAN> N Rows<SPAN class="token punctuation">(</SPAN>dt<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> m<SPAN class="token operator">++</SPAN><SPAN class="token punctuation">,</SPAN>
dt<SPAN class="token punctuation">:</SPAN>stopClock<SPAN class="token punctuation">[</SPAN>m<SPAN class="token punctuation">]</SPAN> <SPAN class="token operator">=</SPAN> n<SPAN class="token punctuation">;</SPAN>
n<SPAN class="token operator">++</SPAN><SPAN class="token punctuation">;</SPAN>
<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">;</SPAN>
Re: ...Sorry it was a silly mistake to do with the previous portion of my code, it had nothing to do with the for loop.
Re: ...What comes before the For() function call? Did you remember to end it with the glue operator (";") before the For() function?