Code that follows a consistent naming convention is self-documenting. In Delphi, all local variable and parameter names should be in camelCase.
Global variables should be in PascalCase and have a consistent prefix.
The default prefix for global variables is G
, but some projects may use another
prefix to separate their global variables from those of other projects. This can make code
spanning several projects more easily understandable.
Rename the variable name to follow the convention.