What's the name for the function that..

Chipp Walters chipp at chipp.com
Thu Aug 19 00:57:42 EDT 2010

wraps a number around given a certain limit set?

For instance, if I have a lower and upper limit of number, say 1 to 4

and I put in msg (I know wrap is not the function name)

put wrap(5,1,4)
it would return 1

I can't seem to find it in the docs. Anyone?

Chipp Walters
CEO, Shafer Walters Group, Inc.

More information about the Use-livecode mailing list