ah yeah :) I assumed
first "something aMsg" ~= second "something aMsg” In case is the same, the correct way is as you say: ^ something aMsg ifNil: [ anotherResult ] (sorry, he :P) > On 30 Jun 2015, at 13:43, jtuc...@objektfabrik.de wrote: > > Am 30.06.15 um 13:40 schrieb Peter Uhnák: >> Make sense if there's code in between. > not sure what you're saying. I mean, sending the message twice makes sense if > you already know the outcome? Hmmm... > >> >> something aMsg ifNil:[ ^ something aMsg ]. "yay for guards!" >> "much more code" >> ^ aNotherResult >> >> Peter > > > -- > ----------------------------------------------------------------------- > Objektfabrik Joachim Tuchel mailto:jtuc...@objektfabrik.de > Fliederweg 1 http://www.objektfabrik.de > D-71640 Ludwigsburg http://joachimtuchel.wordpress.com > Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1 > >