In some programming languages, it is possible to mark functions as deprecated or obsolete and then it can't be used or should be used with caution. Sometimes it even results in a warning message somewhere.
Is it possible in the Delphi Programming Language to mark a procedure as deprecated? How does it work if it is possible?
Delphi has a
deprecatedhinting directive 1:For example:
1: Note that Delphi's documentation does not describe the ability to include a user-defined warning message on
deprecated, but it is actually supported since Delphi 2009 (deprecateditself was introduced in Delphi 6).