Returns the next key/value pair in a table
See also Lua library functions.
Signature:
nextKey, nextValue = next(t [, key])
Arguments:
t- A table (table)key- A key in the table (value)
Returns:
nextKey- The next key in the tablet(value)nextValue- Value associated with the next key in the tablet(value)
This function is defined in the Lua standard libraries