Method

From Lazarus wiki
Revision as of 16:22, 25 May 2018 by FTurtle (talk | contribs) (In static methods Self is not defined)
Jump to navigationJump to search

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 is available. In class methods it identifies the object/class type itself. In static methods Self is not defined. In instance methods self identifies the very instance.