Difference between revisions of "Method"

From Lazarus wiki
Jump to navigationJump to search
m
Line 1: Line 1:
 
{{Method}}
 
{{Method}}
  
== Headline text ==
+
== 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]] 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]].
  
 
[[Category:Pascal]]
 
[[Category:Pascal]]
 
[[Category:Control Structures]]
 
[[Category:Control Structures]]

Revision as of 20:42, 7 March 2015

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

Definition

A method is a procedure that is part of an object, or a 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.