Home Segments Index Top Previous Next

Chapter 3:

How To Write Arithmetic Expressions

In Chapter 2, you saw sample expressions involving the keyword exponentiation method, raisedTo:; the binary multiplication method, *; and the unary square-root method, sqrt. In this chapter, you learn about additional arithmetic messages, and you learn how Smalltalk handles expressions with multiple arithmetic messages.