Fix. add functions/count.lua to preview commit.

This commit is contained in:
Alexey Melnichuk
2015-08-10 13:01:49 +04:00
parent 703b61636a
commit d8b2ec5271

View File

@@ -0,0 +1,9 @@
--array count
function count(t)
local c = 0;
for k in pairs(t) do
c = c + 1;
end
return c;
end