Program Fault

So, I tried made a program that programmed the vex control to be in gaming format(i.e, the left joystick moved the robot forward and the right joystick turned the robot) When I downloaded the program and ran it, the robot turned indefinitely. I think it has something to do with the while statements in my program, but i don’t know what.

Anyway, here is the part of the program that causes the problem:

while (vexRT[Ch1] < 0 && vexRT[Ch1] > -50)
{
motor[left] = -50;
motor[right] = 50;
}
while (vexRT[Ch1] < -51 && vexRT[Ch1] > -100)
{
motor[left] = -100;
motor[right] = 100;
}
while (vexRT[Ch1] < -101 && vexRT[Ch1] > -128)
{
motor[left] = -127;
motor[right] = 127;
}
while (vexRT[Ch1] > 0 && vexRT[Ch1] < 50)
{
motor[left] = 50;
motor[right] = -50;
}
while (vexRT[Ch1] > 51 && vexRT[Ch1] < 100)
{
motor[left] = 100;
motor[right] = -100;
}
while (vexRT[Ch1] > 101 && vexRT[Ch1] < 128)
{
motor[left] = 127;
motor[right] = -127;
}

Problem answered; please delete the thread(the “edit post” option wasn’t available, so I had to reply my post, sorry)