You ended a loop with an ENDLOOP statement, but you didn't begin the loop with a LOOP statement.}Locate the position in the ...