I don't see a "mod" (for modulu) system function, to find the remainder for division. Is very useful for creating additions that stay in a range. For exampe, suppose i want to create a little game that pressing a button steps through all frames of an animation. If i know that there are say animations 0 to 5, then you can use a mod function as follows:
current frame = (current frame + 1) mod 6
set animation frame to (current frame)
this will conveniently guarantee that you circle through the frames.
But, i guess there is no mod system function. Could one be offered?