I was wondering this, as I need to know this when making my script.
COMMUNITY QUESTION
If I loop through the table {hi = 1}, will v = hi or 1?
1 answer
Given you are using in pairs, the value is 1.
To reach that value, you have to index the table like table.hi
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
In a for loop, "v" is only a convention. They are regular variables and can be called whatever they want.