From Free Pascal wiki
Jump to navigationJump to search
Revision as of 17:22, 6 August 2022 by Kai Burghardt (talk | contribs) (resolve Category: Pages using deprecated enclose attributes)
English (en) │
français (fr) │
русский (ru) │
A method is a routine that is associated with an
Inside method definitions the special identifier
self is available.
In static or class methods it identifies the
class type itself.
In instance methods
self identifies the very instance.
However, since static class methods are just “global” routines within the type's namespace, such methods do not know the