![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Chapter 5: | How To Define Methods with Parameters |
In this chapter, you learn how to introduce parameters into Smalltalk methods, so that messages can include arguments. You also learn that a parameter is accessible only via expressions that lie within the same method within which the parameter lies.