Exactly. This was what I was looking for.
Thank you Sean.

Hern��n


El mar, 15 mar 2022 a las 19:15, <sean@clipperadams.com> escribi��:

ComplexCondition as described in Andres Valloud, "A Mentoring Course on Smalltalk" is available at http://www.squeaksource.com/ComplexCondition.html

With it, you can do something like:

^[a includes: $.], [b includes: $.]
    ifAllTrue: [a < b]
    ifAnyTrue: [b includes: $.]
    otherwise: [a > b]