Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

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])
 
PREVIOUS NEXT
Tagged: #greatest #table #lua
ADD COMMENT
Topic
Name
3+9 =