Difference between revisions of "Method"
From Free Pascal wiki
Jump to navigationJump to searchm |
Jwdietrich (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Method}} | {{Method}} | ||
− | == | + | == 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 21: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.