Template:ClassMatrix

Revision as of 13:33, 18 December 2008 by Editor (talk | contribs)

{{{1}}} ... IDs to be searched in full digits {{{2}}} ... starting position for x-axis {{{3}}} ... ending position for x-axis {{{4}}} ... starting position for y-axis {{{5}}} ... ending position for y-axis Note. assumption {{{3}}} <= {{{4}}}






{{#lua:}}! ({{{1}}} () {{{1}}} () for (id in stdin:gmatch("%w+") do) {{{1}}} () {{{1}}} () {{{1}}} () {{{1}}} () end () end () table.sort(T); () {{{1}}} () {{{1}}} () print(k (.. " " .. H[k]);) end () () ())
{{#lua:}}|- {{{1}}}
{{{1}}}
{{{1}}}
for id in string.gmatch(all,"(%S+)") do
{{{1}}}
{{{1}}}
{{{1}}}
{{{1}}}
{{{1}}}
{{{1}}}
end
end
{{{1}}}
{{{1}}}
{{{1}}}
for x,v in string.gmatch(xaxis, "(%S+) (%S+)") do
{{{1}}}
for y,v in string.gmatch(yaxis, "(%S+) (%S+)") do
{{{1}}}
{{{1}}}
{{{1}}}
end
end
print(str);
end
'
'
''''