How To See Greatest Value In A Table Lua

[Solved] How To See Greatest Value In A Table Lua | Lua - Code Explorer | yomemimo.com
Question : how to see greatest value in a table lua

Answered by : cautious-centipede-1wjyixrrhh1d

loltable = {1, 2, 3, 4, 1, 2, 37, 1, 0}
table.sort(loltable)
print(loltable[#loltable])

Source : | Last Update : Mon, 06 Sep 21

Answers related to how to see greatest value in a table lua

Code Explorer Popular Question For Lua