> On 02 Apr 2015, at 17:31, Peter Uhnák <[email protected]> wrote: > > > ^ (a=b) ifTrue: [ aBlockCheckingConditions]. > > Boolean is still just an object, so you can use a cascade > ^ (a=b) > ifTrue: [ aBlockCheckingConditions]; > yourself
But that will always return the the boolean from the first statement! If you want to return something from the conditions block you can’t do that. An alternative might be ^ a = b and: [ condition ] > > Peter
