Choose Language Hide Translation Bar
Jaz
Jaz
Community Trekker

"Unexpected for" error

Hi,

 

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 (m = num(startRow), m <= N Rows(dt), m++, 
	dt:stopClock[m] = n; 
	n++; 
);
0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: ...

What comes before the For() function call? Did you remember to end it with the glue operator (";") before the For() function?

Learn it once, use it forever!

View solution in original post

0 Kudos
2 REPLIES 2
Highlighted

Re: ...

What comes before the For() function call? Did you remember to end it with the glue operator (";") before the For() function?

Learn it once, use it forever!

View solution in original post

0 Kudos
Highlighted
Jaz
Jaz
Community Trekker

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.

0 Kudos