garde en mémoire des infos

hello 
I have a concern about keeping track of my tracks:
when I draw a line of 20mm for example: no worries. if I want to draw a second line of 40 mm for example, it marks 2040 mm!  
can you help me ?
thank you in advance