Template:ClassMatrix: Difference between revisions

Editor (talk | contribs)
New page: {{#def:ALL|{{#SearchTitle:{{{1}}} }}}} {{#lua: local H = {}; for id in stdin:gmatch("%w+") do str = string.sub(id,{{{2}}},{{{3}}}); if (H[str] == nil) then H[str] = 1; e...
(No difference)

Revision as of 12:03, 18 December 2008


{{#lua:

 local H = {};
 for id in stdin:gmatch("%w+") do
   str = string.sub(id,{{{2}}},{{{3}}});
   if (H[str] == nil) then H[str] = 1;
     else H[str] = H[str] + 1;
   end
 end
 for k,v in pairs(H) do
   print(k .. v);
 end

| }}