[Pharo-project] Beginner question about "self" in block

Herby Vojčík herby at mailbox.sk
Wed Jan 25 23:30:49 CET 2012


Garret Raziel wrote:
> Ok, so it automaticaly uses longest possible message?

Not the longest (in: the longest available), but whole.
Concatenation of all xxx: keyword in the whole statement or 
parenthesised expression is used. I doesn't matter if #foo: exists if 
statement is 1 foo: 3 bar: 5; it is always #foo:bar:.

Herby



More information about the Pharo-project mailing list