...
trueAction := [ ... do something ].
falseAction := [ ... do something else ...].
abs := x > 0 ifTrue:trueAction ifFalse:falseAction. "3)"