CS 3304: Comparative Languages
Object-Oriented Programming
[
Course Documents
] : [
Object-Oriented Programming
]
Previous
Contents
Next
Keyword Index
Smalltalk Methods
General form:
message_pattern [| temps |] statements
A message pattern is like the formal parameters of a subprogram
For a unary message, it is just the name
For others, it lists keywords and formal names
temps are just names--Smalltalk is typeless!