How do I take a value from a table that is defined by user input? (Lua)
This is the code I tried, but it didn't work
local sizes = table
sizes = io.read()
print(sizes[1])--I need to print the value of the first value in the table
--you have to input in a string like this to the STDIN : '14,124' to get the table made
No answers yet!
1 year ago by Marshall Lewis