Home Segments Index Top Previous Next

26: Mainline

When you evaluate the expression 2 sqrt, you are said to send a message, consisting of a method selector, sqrt, to the receiver of the message, 2. The receiver finds the method named by the method selector, uses the method to produce a value, and answers with that value.