Volatile:ListField

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
 
   table.sort(id)
 
   table.sort(id)
 
   for _,v in ipairs(id) do
 
   for _,v in ipairs(id) do
     if (table.getn(list[v]) > tonumber("{{{3|0}}}")) then
+
     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_J5raJh:29: 'end' expected (to close 'for' at line 17) near '<eof>'

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox