Delphi – E2004 Identifier redeclared ‘%s’
You’re attempting to reuse the name of an identifier that has previously been declared in this scope.
program Tests; var Tests: Integer; begin end.
Because the program’s name and the variable’s name are the same, we must modify one of them to make the compiler happy.
program Tests; var TestCnt: Integer; begin end.
Leave Your Comment