benilla-re systems structs docs

random

Lua standard library function

Function
math_random lua
Meaning
Returns a Lua random number drawn from rand inferred
Registered in
standard library table mathlib lua
Registrar pair
0x822d10
Arguments
2 exact
Returns
1 values exact, kinds (number) agree

Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.

Cited in 1