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

Herby Vojčík herby at mailbox.sk
Wed Jan 25 17:30:49 EST 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-dev mailing list