Answers for "how to see greatest value in a table lua"

0

how to see greatest value in a table lua

loltable = {1, 2, 3, 4, 1, 2, 37, 1, 0}
table.sort(loltable)
print(loltable[#loltable])
Posted by: Guest on August-30-2021

Browse Popular Code Answers by Language