This Local Variable or Parameter has the Same Name as a Constant
From Xojo Documentation
Error message
You reused the name of a constant in a Dim statement or a parameter declaration.
Sample Code
Reusing the name of a constant in a local variable.
Reusing the name of a parameter as a constant: