Template:FL digit78

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
(New page: {{#lua: local L = {} for word in stdin:gmatch("%S+") do s = string.sub(word,7,8) if (L[s] == nil) then L[s]=s end end table.sort(L) print(table.concat(L)) | {{#Searc...)
 
Line 1: Line 1:
 +
{{#repeat: SearchAll|2|
 
{{#lua:
 
{{#lua:
 
   local L = {}
 
   local L = {}
 +
  local h
 
   for word in stdin:gmatch("%S+")
 
   for word in stdin:gmatch("%S+")
     do s = string.sub(word,7,8)
+
     do h = string.sub(word,1,8) s = string.sub(word,7,8)
       if (L[s] == nil) then L[s]=s end
+
       if (L[h] == nil) then L[h]=s end
 
     end
 
     end
 
   table.sort(L)
 
   table.sort(L)
   print(table.concat(L))
+
   table.foreach(L, function(x) print( x .. " " .. L[x] .. " ") end)
| {{#SearchTitle:^FL1AAA|}} }}
+
| {{#SearchTitle:^FL1AAA|}} }}| }}

Revision as of 11:40, 20 March 2008

Template:SearchAllTemplate:SearchAllTemplate:SearchAll

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox