Compartir a través de


An IF | ELSE | ENDIF statement is missing (Error 1211)

A portion of the statement is either missing or misplaced. Check for a mismatched use of IF … ENDIF within another control statement.

The following example fails because ENDIF is placed within the DO CASE....ENDCASE statement.

IF .T.

   DO CASE

      CASE .T.

ENDIF

   ENDCASE

For more information about executing commands conditionally, see the IF ... ENDIF Command.

See Also

Reference

IF ... ENDIF Command