Getting line information in sketches

Hello,

I was looking at the sample code "Get Lines in Sketch Example" online: 2017 SOLIDWORKS API Help - Get Lines in Sketch Example (VBA).

The output is given by: Debug.Print " Start = (" & vLines(12 * i + 6) * 1000# & "," & vLines(12 * i + 7) * 1000# & "," & vLines(12 * i + 8) * 1000# & ") mm"

Here, what does vLines(12 * i + 6), vLines(12 * i + 7) etc. mean? Why do we multiply i by a certain number and how does that become the x/y coordinate?

Just trying to figure out how they did it

Thank you,

Doga

SolidworksApi macros