Help with 2 steppermotors controlled by potentiometers

Did you try:

int potValue1 = analogRead(potentiometerPin1);   
    potValue1 = analogRead(potentiometerPin1);
int potValue2 = analogRead(potentiometerPin2); 
    potValue2 = analogRead(potentiometerPin2);

?