lua_strΒΆ
lua_str creates a string from a Lua table for debugging purposes.
-
ssString = lua_str(table)
Return Value
ssString
Parameters
-
table
table
Example
* math = lua_require("math")
* lua_type(math)
table
* lua_str(math)
{
abs = <function 1>,
acos = <function 2>,
asin = <function 3>,
atan = <function 4>,
atan2 = <function 5>,
ceil = <function 6>,
cos = <function 7>,
cosh = <function 8>,
deg = <function 9>,
exp = <function 10>,
floor = <function 11>,
fmod = <function 12>,
frexp = <function 13>,
huge = inf,
ldexp = <function 14>,
log = <function 15>,
log10 = <function 16>,
max = <function 17>,
min = <function 18>,
modf = <function 19>,
pi = 3.1415926535898,
pow = <function 20>,
rad = <function 21>,
random = <function 22>,
randomseed = <function 23>,
sin = <function 24>,
sinh = <function 25>,
sqrt = <function 26>,
tan = <function 27>,
tanh = <function 28>
}
History
Version | Description |
---|---|
5.80 | New. |
id-2055921