Template:FL digit78

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
 
(10 intermediate revisions by one user not shown)
Line 1: Line 1:
<!--{{#repeat: SearchMainLink|2|
+
{{#repeat: MapLink|3|
{{#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 .. " ") end)
+
| {{#SearchTitle:^{{{1}}}|}} }}|&#160;}}
+
-->
+
{{#repeat: SearchMainLink|2|
+
 
{{#lua:
 
{{#lua:
 
   local L = {}
 
   local L = {}
Line 27: Line 15:
 
   table.sort(L)
 
   table.sort(L)
 
   for j=1,i do
 
   for j=1,i do
     print( string.sub(L[j],3,10) .. " " .. string.sub(L[j],1,2) .. " ")
+
     print( "ListMol " .. string.sub(L[j],3,10) .. " " .. string.sub(L[j],1,2) .. " ")
 
   end
 
   end
 
| {{#SearchTitle:^{{{1}}}|}} }}|&#160;}}
 
| {{#SearchTitle:^{{{1}}}|}} }}|&#160;}}

Latest revision as of 05:21, 5 September 2008

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox