[Object] on: [String] do: [Block] | Manual

[Object] on: [String] do: [Block]

Makes the object respond to a new kind of message. Use the semicolons to indicate the positions of the arguments to be passed.
Usage:


 object on: 'greet' do: { ... }.
 object on: 'between:and:' do: { ... }.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.