Difference between revisions of "Method"

From Free Pascal wiki
Jump to navigationJump to search
 
Line 1: Line 1:
A '''method''' is a [[procedure]] or [[function]] that is a part of an [[object]], and which cannot be assigned a value.  A function that is part of an object that can be assigned a value is called a [[property]].
+
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]].

Revision as of 20:34, 10 May 2006

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.