Translations:Extension:Scribunto/Lua reference manual/2392/fr

function table.maxn( table ) local maxn, k = 0, nil repeat k = next( table, k ) if type( k ) == 'number' and k > maxn then maxn = k       end until not k   return maxn end