The #min:max: message is present in the Squeak/Pharo/Cuis familly but not in GNU Smalltalk for example. No idea about the other ones.

Le 21/04/2018 à 00:12, Chris Cunningham a écrit :
A name like this would be clearer (although much more annoying):

returnAtLeast: minValue butNoMoreThan: maxValue
    10 returnAtLeast: 12 butNoMoreThan: 48


--
Dr. Geo
http://drgeo.eu



Reply via email to