RobotC 127+ values

What happens if I set a motor higher than 127? This is only really a ‘problem’ because I’m trying to use potentiometer readings to slow the speed of motors until they reach a specified angle and I’ve heard I have to slow the motors down so they don’t pass the angle specified before it stops.
here’s the idea:

if (pot < 1500) {
motor[port3]  =  (1490 - pot)/6;
else {
motor[port3] = 0;

Ya that’s fine. It will will just cut off the value at 127. What you have here is formally known as a P control loop BTW.