WIP: sprintf #21
@ -279,15 +279,13 @@ function kbd:release(i)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function tostring(any)
|
function tostring(any)
|
||||||
if type(any)=="table" then
|
if (type(any)!="table") return tostr(any)
|
||||||
local str = "{ "
|
local str = "{ "
|
||||||
for k,v in pairs(any) do
|
for k,v in pairs(any) do
|
||||||
str=str..tostring(k).."->"..tostring(v).." "
|
str..=tostring(k).."->"..tostring(v).." "
|
||||||
end
|
end
|
||||||
return str.."}"
|
return str.."}"
|
||||||
end
|
end
|
||||||
return tostr(any)
|
|
||||||
end
|
|
||||||
|
|
||||||
-->8
|
-->8
|
||||||
-- title screen
|
-- title screen
|
||||||
|
Loading…
Reference in New Issue
Block a user