Sandbox4

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
 
(18 intermediate revisions by one user not shown)
Line 1: Line 1:
{{#def:list|{{#SearchLine:FL63|Reference}}}}
+
==メイン(旧)ネームスペース==
  
{{#lua:
+
{{#def:list|{{#SearchTitle:_*LC-MS|}}}}
  local T = {}
+
Total {{#count:{{#var:list}}}} pages.
  for genus in stdin:gmatch("&&([%a]+) [-%a%. ]+&&[%a%d]+") do
+
{{#repeat:LinkItem|1|{{#var:list}}}}
    if (T[genus] == null) then T[genus] = 1 else T[genus] = T[genus] + 1 end
+
 
  end
+
 
  total = 0
+
==新しい(LCMS)ネームスペース==
  for k,v in pairs(T) do
+
 
    total = total + v
+
{{#def:list2|{{#SearchTitle:_*|LCMS}}}}
    print(k.."\t"..v)
+
Total {{#count:{{#var:list2}}}} pages.
  end
+
{{#repeat:LinkItem|1|{{#var:list2}}}}
  print(total)
+
|{{#var:list}} }}
+

Latest revision as of 14:02, 10 February 2011

[edit] メイン(旧)ネームスペース

Total 118 pages.


[edit] 新しい(LCMS)ネームスペース

Total 118 pages.

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox