lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, 21 Jun 2010 11:29:00 +0300
Adriano Saballa das Chagas <adrianosbl@hotmail.com> wrote:

> I have a suggestion, it is math.between(var1, var2)
> It looks for a number between var1 and var2

You mean like math.random(var1,var2)?
or like: function(x,var1,var2) return var1 < x and var2 > x end