The problem is that "Var" is not followed by a variable declaration. The compiler complains about an identifier missing when it finds "const" because what it expected is a variable name (the variable name is what the compiler refers to as an "identifier".
Simply declare a variable after var, something like, "MyVariable : integer;" and that will correct the problem.
HTH.