RAD Studio
ContentsIndex
PreviousUpNext
E2054: Misplaced else

The compiler encountered an else statement without a matching if statement. 

Possible Causes

  • An extra "else" statement
  • An extra semicolon
  • Missing braces
  • Some syntax error in a previous "if" statement

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!