Volatile:ListField
From Metabolomics.JP
(Difference between revisions)
Line 17: | Line 17: | ||
table.sort(id) | table.sort(id) | ||
for _,v in ipairs(id) do | for _,v in ipairs(id) do | ||
− | + | k = tonumber("{{{3}}}") | |
+ | if (k == null) then k =0 | ||
+ | if (table.getn(list[v]) > k) then | ||
print("* {{{1}}} '''" .. v .. "'''") | print("* {{{1}}} '''" .. v .. "'''") | ||
table.sort(list[v]) | table.sort(list[v]) |
Revision as of 15:24, 8 September 2011
./lua: /tmp/mw_ex_lua_4LQm1M:29: 'end' expected (to close 'for' at line 17) near '<eof>'