The combination \ followed by a new line means the continuation of the line. You can think of \ as an exit from a new line, so that it does not have the usual "end of line" value.
In Python, you can often arrange the code so that \ not necessary, for example.
totalDistance += GetDistance( xCoords[i], yCoords[i], xCoords[i+1], yCoords[i+1])
here the newlines do not end because they are inside ()
John la rooy
source share