When you use the Delphi for .NET compiler, and you get this message: “E2029 identifier expected but 'xxx' found ” error message, what you need to fix this bug is just insert the ampersand (&) character before the 'xxx' identifier. The ampersand (&) character is also known as the escape character in Delphi for .NET compilers.