Volatile:Search

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
{{#lua:
 
{{#lua:
 
   local L = {};
 
   local L = {};
 +
  local start = tonumber({{{2|50}}})*tonumber({{{3|1}}});
 
   for word in stdin:gmatch("%S+") do
 
   for word in stdin:gmatch("%S+") do
 
     table.insert(L,word);
 
     table.insert(L,word);
 
   end
 
   end
 
   table.sort(L);
 
   table.sort(L);
 +
  print(start);
 
|{{#var:RESULT}}
 
|{{#var:RESULT}}
 
}}
 
}}
 
{{#lua: print(tonumber({{{2}}}))|}}
 

Revision as of 02:46, 29 June 2008


./lua: /tmp/mw_ex_lua_6JrMep:2: bad argument #1 to 'tonumber' (value expected)

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox