Another one:
A = min (2", A) ! Master Script
parameters A = A ! Parameter Script
The problem with range values ... Fore sure, they tell you the limits,
But in case of wrong value, they just return to the minimum value.
I find more intuitive to fix the limits myself.
A = min ( max (2", A), 10") ! Master Script
values "A" 2", 4", 6", 10", custom ! Parameter Script
parameters A = A ! Parameter Script
"A" automatically update within the limits, from min to max,
but locks on 2" for any value < 2", and locks on 10" for any value > 10"
That's split hairs, i agree. Whatever method you choose, it's important to use one, for safety.
Supose a typo error. About resolution, you type 3600 instead of 36 (fingers accident).
The object will start infinite loops. At the end, you have to force AC to quit. Too bad.