Difference between revisions of "Method"

From Free Pascal wiki
Jump to navigationJump to search
m
Line 1: Line 1:
 
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:FPC]]

Revision as of 20:29, 20 April 2013

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.