but
- operator — but at least, but at most, but no less than, but no more than, but never more than, but never less than
- new in 1.67
- operators to simplify the task of limiting a number to a minimum or maximum value (internally, these operators call the largestValue or smallestValue functions):
set highScore to largest value in scores but at most 100
set lowScore to rawScore - 9 but no less than zero
set volume to knobPosition but never more than maximumVolume
- Related: largestValue, smallestValue