Lua Manual correction

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Lua Manual correction

aryajur
Hi,
         In the math.random function documentation it says: "The value m-n cannot be negative and must fit in a Lua integer."

Shouldn't it be n-m cannot be negative i.e. n >m

Milind

Reply | Threaded
Open this post in threaded view
|

Re: Lua Manual correction

Roberto Ierusalimschy
>          In the math.random function documentation it says: "The value
> *m-n* cannot
> be negative and must fit in a Lua integer."
>
> Shouldn't it be n-m cannot be negative i.e. n >m

Sure. Thanks,

-- Roberto