Volatile:Search
From Metabolomics.JP
(Difference between revisions)
Line 5: | Line 5: | ||
{{#lua: | {{#lua: | ||
local L = {}; | local L = {}; | ||
− | local start = tonumber( | + | local size = SIZE; |
+ | local page = 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:49, 29 June 2008
./lua: /tmp/mw_ex_lua_EijAju:4: attempt to perform arithmetic on a nil value