One of these situations has been encountered:
-
A DO is present without a matching ENDDO or vice versa
-
A SCAN is present without a matching ENDSCAN or vice versa
-
A FOR is present without a matching ENDFOR or vice versa
-
A LOOP or EXIT clause is present outside the DO WHILE ... ENDDO, FOR ... ENDFOR, or SCAN ... ENDSCAN commands.
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08