Help - Glossary - M - Method

Program (routine) written in the Squeak language that can be compiled by the Squeak programming environment, as part of some Object. A method can be run by addressing the object it is a method of by a message.

Example for Cmd-p

#(1 2 3 4 5) average. "An array of numbers can return its average"

If you do Cmd-m on 'average' you'll find it is a method of Collection, where there are quite a few more mathematical functions for collections including arrays.

Glossary - M