Method
From Lazarus wiki
Revision as of 00:40, 25 May 2018 by Kai Burghardt (talk | contribs) (remove Category:Control Structures; add →self identifier: ; more concise definition)
│
English (en) │
français (fr) │
русский (ru) │
A method is a routine that is associated with an object
or class
.
self identifier
Inside method definitions the special identifier self
is available.
In static or class methods it identifies the object
/class
type itself.
In instance methods self
identifies the very instance.