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