ELSE without IF
■ An ELSE clause appears without a corresponding IF.
Sometimes this error is caused by incorrectly nested IF
statements.
■ Possible solutions:
• Insert the IF keyword at the beginning of the IF...END IF
structure.
• Check other control structures within the IF...END IF
block to verify that they are correctly matched. For
example, a nested IF block without a matching END IF
inside the outer IF...END IF block may generate this
error.
■ If you need additional help, move the cursor to a keyword
and press F1 to open the Help window.