Änderungen

Zur Navigation springen Zur Suche springen
keine Bearbeitungszusammenfassung
Zeile 28: Zeile 28:  
for k,_ in pairs(AuthorList) do
 
for k,_ in pairs(AuthorList) do
 
     Authors[#Authors+1] = k
 
     Authors[#Authors+1] = k
end
+
end
+
    local n = 1
-- sort them alphabeticaly
+
     while n <= table.getn(Authors)  
AuthorsSorted = {}
+
     do
     for n in pairs(Authors) do table.insert(AuthorsSorted, n) end
+
    ReturnString = ReturnString .. Authors[n] .. "<br>"
     table.sort(AuthorsSorted)
+
    n = n +1
   
+
    end
    -- display
  −
    for i,n in ipairs(AuthorsSorted) do ReturnString = ReturnString .. n end
  −
 
  −
 
   
      
 
      
 
     return ReturnString
 
     return ReturnString

Navigationsmenü