[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: number, math, and metatable?
- From: Coda Highland <chighland@...>
- Date: Sat, 3 May 2014 15:50:54 -0700
On Sat, May 3, 2014 at 3:42 PM, Coroutines <coroutines@gmail.com> wrote:
> On Sat, May 3, 2014 at 3:38 PM, Coda Highland <chighland@gmail.com> wrote:
>
>> local limited = clamp(input, 100, 1000)
>
> I give to you, all of our bacon. We also would have accepted:
> within(100, input, 1000)
>
Of course, with the clamp() function it could have been expressed as
local limited = input:clamp(100,1000)
So... I don't have a clue what I'm saying. ;)
/s/ Adam
- References:
- number, math, and metatable?, Petite Abeille
- Re: number, math, and metatable?, Dirk Laurie
- Re: number, math, and metatable?, Thomas Jericke
- Re: number, math, and metatable?, Tim Hill
- Re: number, math, and metatable?, Coda Highland
- Re: number, math, and metatable?, Coroutines