Clean up the code

Hello everyone…

I really need help to clean up this code…

**


** 	 	 	   
 
var curr0._x = d0._x; 
var curr1._x = d1._x; 
var curr2._x = d2._x; 
var curr3._x = d3._x; 
var curr4._x = d4._x; 
var curr5._x = d5._x; 
var curr6._x = d6._x; 
var curr7._x = d7._x; 
var curr8._x = d8._x; 
var curr9._x = d9._x; 
var curr10._x = d10._x; 
var curr11._x = d11._x; 
 

so how can I make a loop of this so that I don’t have to repeated man times…is it possible…?

tq