Line Follower Robot error code

Please help!!!

I dont understand whats the problem on my code.
Here is my code:

#include <Servo.h>

int SensorLeft = 12;
int SensorRight = 13;
Servo leftServo;
Servo rightServo;
int sensorStateLeft = 0;
int sensorStateRight = 0;

void setup() {
leftServo.attach(7);
rightServo.attach(8);
pinMode(12, INPUT);
pinMode(13, INPUT);
}

void loop()
{
forward();
turnLeft();
turnRight();
}
void forward()
{
sensorStateRight = digitalRead(sensorRight);
sensorStateLeft = digitalRead(sensorLeft);
(sensorStateRight == HIGH && sensorStateLeft == HIGH);
digitalWrite(leftServo(0), rightServo(180));
}

void turnLeft ()
{
sensorStateRight = digitalRead(sensorRight);
sensorStateLeft = digitalRead(sensorLeft);
(sensorStateRight == HIGH && sensorStateLeft == LOW);
}

void turnRight ()
{
sensorStateRight = digitalRead(sensorRight);
sensorStateLeft = digitalRead(sensorLeft);
(sensorStateRight == LOW && sensorState == HIGH);
}

And here is the error:

Arduino: 1.6.5 (Windows 7), Board: “Arduino Uno”

‘sensorRight’ was not declared in this scope

PLS HELP ASAP.
Thanks!

(sensorStateRight == HIGH && sensorStateLeft == HIGH);

What do you think this useless statement is going to do?

'sensorRight' was not declared in this scope

What scope do you think it is defined in? C and C++ are case sensitive.

kahoykahoy, welcome to the Forum. Please read the two posts at the top of this Forum by Nick Gammon on guidelines for posting here, especially the use of code tags which make the code looklike thiswhen posting source code files. Also, before posting the code, use Ctrl-T in the IDE to reformat the code in a standard format, which makes it easier for us to read.

If you have already posted without using code tags, open your message and select “modify” from the pull down menu labelled, “More”, at the lower left corner of the message. Highlight your code by selecting it (it turns blue), and then click on the “</>” icon at the upper left hand corner. Click on the “Save” button.

(sensorStateRight == HIGH && sensorStateLeft == HIGH);

Did you intend there to be an if there somewhere ? Assuming that you did then look out for the semicolon on the end of the statement.

digitalWrite(leftServo(0), rightServo(180));

Can you please explain in words what this line is supposed to do ? I think I know what you intended (which is not what will happen) but it would be good to know.