This compiler error will occur if a for instruction does not contain a counter variable. For example:
for = 1 to 10 step 1
// do something
endfor
For more details, see looping with the for keyword.
Topic 109604, last updated on 18-Apr-2020