I am having these error messages when I compile my program, and it tells me to fix my brackets but IDK how, can someone help me please!!! it is a 2 controller x drive catapult hybrid with dumper
X= mistake that it points out to me
X while (true)
X {
//DRIVE w/ Joystick w/Kaycee
motor[DriveRightFront] = vexRT[Ch4] -vexRT[Ch3] -vexRT[Ch1]; //RFM = Right Front Motor Holonomic
motor[DriveLeftFront] = vexRT[Ch4] +vexRT[Ch3] -vexRT[Ch1]; //LFM = Left Front Motor Holonomic
motor[DriveRightBack] = vexRT[Ch4] -vexRT[Ch3] +vexRT[Ch1]; //RBM = Right Back Motor Holonomic
motor[DriveLeftBack] = vexRT[Ch4] +vexRT[Ch3] +vexRT[Ch1]; //LBM = Left Back Motor Holonomic
//Fire w/Kaycee
if(vexRT[Btn6U] == 1) { //Fire
motor[FireL] = 127;
motor[FireR] = 127;
} else if(vexRT[Btn6D] == 1) { //Fire Unjam
motor[FireL] = -127;
motor[FireR] = -127;
X }else{ //Fire Stops
motor[FireL] = 0;
motor[FireR] = 0;
//Dummper w/Kaycee
if(vexRT[Btn5U] == 1) { //Dumper Up
motor[DumperL] = 127;
motor[DumperR] = 127;
} else if(vexRT[Btn6D] == 1) { //Dumper Down
motor[DumperL] = -127;
motor[DumperR] = -127;
}else{ //Dumper Stops
motor[DumperL] = 0;
motor[DumperR] = 0;
//Fire w/Scott
motor[FireL] = vexRT[Ch3]; //Fire
motor[FireR] = vexRT[Ch3]; //Fire
//Dumper w/Scott
motor[DumperL] = vexRT[Ch2Xmtr2]; //Dumper
motor[DumperR] = vexRT[Ch2Xmtr2]; //Dumper
// Drive Controls w/Scott
//Drive Forward/Back
if(vexRT[Btn7UXmtr2] == 1) { //forward
motor[DriveLeftFront] = 127;
motor[DriveRightFront] = 127;
motor[DriveLeftBack] = 127;
motor[DriveRightBack] = 127;
} else if(vexRT[Btn7DXmtr2] == 1) { //backward
motor[DriveLeftFront] = -127;
motor[DriveRightFront] = -127;
motor[DriveLeftBack] = -127;
motor[DriveRightBack] = -127;
}else{ //Stop
motor[DriveLeftFront] = 0;
motor[DriveRightFront] = 0;
motor[DriveLeftBack] = 0;
motor[DriveRightBack] = 0;
//Drive Right and Left
if(vexRT[Btn7LXmtr2] == 1) { //forward
motor[DriveLeftFront] = -127;
motor[DriveRightFront] = 127;
motor[DriveLeftBack] = 127;
motor[DriveRightBack] = -127;
} else if(vexRT[Btn7RXmtr2] == 1) { //backward
motor[DriveLeftFront] = 127;
motor[DriveRightFront] = -127;
motor[DriveLeftBack] = -127;
motor[DriveRightBack] = 127;
}else{ //Stop
motor[DriveLeftFront] = 0;
motor[DriveRightFront] = 0;
motor[DriveLeftBack] = 0;
motor[DriveRightBack] = 0;
}//End Drive w/Scott
}//End of Dumper w/Kaycee
}//End of Fire w/Kaycee
}//End of While }//End Drive w/Scott
}//End of Dumper w/Kaycee
}//End of Fire w/Kaycee
}//End of While }//End Drive w/Scott
}//End of Dumper w/Kaycee
}//End of Fire w/Kaycee
}//End of While }//End Drive w/Scott
}//End of Dumper w/Kaycee
}//End of Fire w/Kaycee
}//End of While
//Drive Turning
if(vexRT[Btn8LXmtr2] == 1) { //Turn Left
motor[DriveLeftFront] = -127;
motor[DriveRightFront] = 127;
motor[DriveLeftBack] = -127;
motor[DriveRightBack] = 127;
} else if(vexRT[Btn8RXmtr2] == 1) { //Turn Right
motor[DriveLeftFront] = 127;
motor[DriveRightFront] = -127;
motor[DriveLeftBack] = 127;
motor[DriveRightBack] = -127;
}else{ //Stop
motor[DriveLeftFront] = 0;
motor[DriveRightFront] = 0;
motor[DriveLeftBack] = 0;
motor[DriveRightBack] = 0;
}//End Drive w/Scott
}//End of Dumper w/Kaycee
}//End of Fire w/Kaycee
X }//End of While
this is my first program with robot c
Thank you for all the help I have figured it out