I have read through how for loops work, and I understand it. But when I try to match up that knowledge with what people say about pairs, it doesn't make sense.
For example, the easiest explanation of pairs that I could somewhat understand that I found was this.
a={"This","is","an","Example"}
for k,v in pairs(a) do
print(v)
end
According to how For loops are supposed to work, k is the starting value and v is the ending value. But why does printing v print out this is an Example? V is the ending value, it can't/hasn't been defined as anything?
I am just really confused. Can someone explain to me in simple terms how this stuff matches up?
