I haven't checked the syntax, but something like:

|aMug|
aMug := Mug new fill.
aMug isEmpty isFalsle: [
   self drinkFrom: aMug
]




--
View this message in context: 
http://forum.world.st/Mugs-n-stuff-logo-and-message-tp4692529p4692618.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to