Pike7.0TutorialMethods

   

Methods: an Introduction
Calling a method
More Advanced Examples

Methods

This chapter describes methods (or "functions" or "member functions", as a C++ programmer would say). In a method call, arguments are sent to the method, where the arguments are put in the method's parameters. The method can return a value with the return statement.