Template:FL digit78

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
 
     end
 
     end
 
   table.sort(L)
 
   table.sort(L)
   table.foreach(L, function(x) print( L[x] .. " " .. x .. " ") end)
+
   table.foreach(L, function(x) print( L[x] .. " " .. x .. "<wbr> ") end)
 
| {{#SearchTitle:^{{{1}}}|}} }}|&#160;}}
 
| {{#SearchTitle:^{{{1}}}|}} }}|&#160;}}

Revision as of 12:12, 22 March 2008

{{#repeat: SearchMainLink|2| {{#lua:

 local L = {}
 local h
 for word in stdin:gmatch("%S+")
   do h = string.sub(word,1,8) s = string.sub(word,7,8)
      if (L[s] == nil) then L[s]=h end
   end
 table.sort(L)
 table.foreach(L, function(x) print( L[x] .. " " .. x .. "
Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox