Question: geometry variables local or global?

I'm struggling a bit to understand the results of the following program.

Apparently variables are not being changed after the first run. Otherwise I can't explain the results of the last line.

GeometrySegment.mw

Please Wait...