C2026 ELSEIF does not match IF
Explanation: You specified an ELSEIF statement outside an
IF...ENDIF control structure. ELSEIF is part of the IF control
structure syntax and, therefore, cannot occur outside of the structure.
Action: Remove the offending ELSEIF statement or fix the nesting
error, and recompile.