type
TAge = range[0..150]
var age : TAge = 100
inc(age,80)
echo($age)
I am a newbie currently trying going through http://nimrod-lang.org/tut1.html.
It shows 180. Isn't this supposed to be out of bound?
OK.
It appears also that out of bound dec always returns 0 regardless of the lower bound range.