|
感谢整理。
昨天我还费劲 枚举函数。。
```
app:print('\r\n---------');
tb="";
function list(t)
for k, v in pairs(t) do
tb= tb .. '\n' .. tostring(k) .. "\ttype:" .. tostring(type(v));
if type(v) == "table" then
winapi.show_message('is_table', k);
for k1, v1 in pairs(v) do
tb = tb .. '\n ' .. k .. "." .. k1 .. '\ttype:' .. tostring(type(v1));
end
end
tb= tb .. "\n";
end
end
winapi.show_message('@', __this__ )
list(_G);
f = io.open("1.txt", "a")
f:write( tb )
f:close()
```
|
|