Re: What's the name for the function that..

2010-08-19 Thread Bob Sneidar
I am probably showing my ignorance, but I cannot think conceptually of how 5 wraps around 1 and 4. What is the significance of this? Bob On Aug 18, 2010, at 9:57 PM, Chipp Walters wrote: wraps a number around given a certain limit set? For instance, if I have a lower and upper limit of

Re: What's the name for the function that..

2010-08-19 Thread Bob Sneidar
Never min I looked it up. Got it now. 6 would return 2. Had I the second example I would have seen it. :-) Bob On Aug 18, 2010, at 9:57 PM, Chipp Walters wrote: 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

What's the name for the function that..

2010-08-18 Thread Chipp Walters
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

Re: What's the name for the function that..

2010-08-18 Thread J. Landman Gay
On 8/18/10 11:57 PM, Chipp Walters wrote: 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.

Re: What's the name for the function that..

2010-08-18 Thread Chipp Walters
Ah..and it's not a function. That explains why I couldn't find it. heh. On Thu, Aug 19, 2010 at 12:01 AM, J. Landman Gay jac...@hyperactivesw.comwrote: On 8/18/10 11:57 PM, Chipp Walters wrote: wraps a number around given a certain limit set? For instance, if I have a lower and upper limit