<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">Hi all!<div class="mb_sig"></div><div><br></div><div>Why isn't the following example possible?</div><div><br></div><div>aNumber caseOf: {</div><div>   <b>[:n | n even]</b> -> ['That is an even number.'].</div><div>  <b> [:n | n odd]</b> -> ['That is an odd number.'].</div><div>}.</div><div><br></div><div>That is, why is the check "assoc key value = self" not configurable as "(x := assoc key cull: self) == true or: [x = self]"? :-)</div><div><br></div><div>... maybe it is a good thing that case-of statements in Smalltalk are not that powerful?</div><div><br></div><div>Best,</div><div>Marcel</div></div>