Volatile:ListField
From Metabolomics.JP
(Difference between revisions)
Line 19: | Line 19: | ||
if (k == nil) then k =0 else print("Printing lists more than size=" .. k) end | if (k == nil) then k =0 else print("Printing lists more than size=" .. k) end | ||
for _,v in ipairs(id) do | for _,v in ipairs(id) do | ||
− | + | --- if (table.getn(list[v]) > k) then--- | |
print("* {{{1}}} '''" .. v .. "'''") | print("* {{{1}}} '''" .. v .. "'''") | ||
table.sort(list[v]) | table.sort(list[v]) | ||
Line 27: | Line 27: | ||
end | end | ||
end | end | ||
− | + | --- end--- | |
| | | | ||
{{#replace:{{#SearchLine:{{{1}}}|{{{2}}}}}|||&&}} | {{#replace:{{#SearchLine:{{{1}}}|{{{2}}}}}|||&&}} | ||
}} | }} |