Methods available for this type of data are called in the code for the constant.
If you type in a dot after an identifier of a constant in the development environment, a list of methods available for this data type is created in IntelliSense. Using these methods for constants is forbidden. Remove calling of methods for the constant or relocate the constant description into the block of variables.
Sub UserProc;
Const
d = 1;
Begin
d.Parse("1");
End Sub UserProc;
When the specified code is compiled, the string d.Parse("1"); displays the following error: At the left side of . should be an object, a class, an enumeration or a unit. To resolve the error, remove the calling of the Parse method for the "d" constant.
See also: