Difference between revisions of "Method"

From Lazarus wiki
Jump to navigationJump to search
(Fix definition)
Line 2: Line 2:
  
 
== Definition ==
 
== Definition ==
A '''method''' is a [[Procedure|procedure]] that is part of an object, or a [[Function|function]] that is a part of an [[object]] and which cannot be assigned a value from outside of the function.  A function that is part of an object that can be assigned a value from outside of the function is called a [[property]].
+
A '''method''' is a [[Procedure|procedure]] or [[Function|function]] that is associated with an [[object]] class.
 
 
 
[[Category:Pascal]]
 
[[Category:Pascal]]
 
[[Category:Control Structures]]
 
[[Category:Control Structures]]

Revision as of 13:49, 10 March 2015

English (en) français (fr) русский (ru)

Definition

A method is a procedure or function that is associated with an object class.