Volatile:Search

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

Revision as of 02:53, 29 June 2008


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

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox