This compiler error will occur if a for instruction does not contain an end value or expression where expected.
For example:
for nTemp = 1 to step 1
// do something
endfor
For more details, see looping with the for keyword.
Topic 109608, last updated on 18-Apr-2020