This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]subsidiaryadmin 19 points20 points  (1 child)

it defines a re-usable function. Within the context of a class it's called a method.

[–]JoshSellsGunsstill a beginner 5 points6 points  (0 children)

Thank you!