ener.hlp (Topic list)
END IF without Block IF
■ The beginning of an IF block is missing.
 
■ Possible solutions:
 
  • Insert the IF keyword at the beginning of the IF...ENDIF
    structure.
 
  • Check other control structures within the IF...ENDIF 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 generates this error.
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.