Änderungen

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