I think goto is the problem here?

This code:

#include <Servo.h> 

Servo Servo1; // creates an object for each servo
Servo Servo2;
Servo Servo3;
Servo Servo4;
Servo Servo5;
Servo Servo6;

const int buttonPin = 7; // declares pin for the Quickstart button

const int potpinS1 = A0;  //analog input pin A0
const int potpinS2 = A1;  //analog input pin A0
const int potpinS3 = A2;  //analog input pin A0
const int potpinS4 = A3;  //analog input pin A0
const int potpinS5 = A4;  //analog input pin A0
const int potpinS6 = A5;  //analog input pin A0

int newvalS1, oldvalS1;
int newvalS2, oldvalS2;
int newvalS3, oldvalS3;
int newvalS4, oldvalS4;
int newvalS5, oldvalS5;
int newvalS6, oldvalS6;

int buttonState = 0;

int range = 2;

boolean quickstartOn = false;
int quickstartTime = 0;

void setup() 
{
  Serial.begin(9600);  //For debugging
  Servo1.attach(13);  
  Servo2.attach(12);   
  Servo3.attach(11);   //assigning each servo a pin
  Servo4.attach(10);  
  Servo5.attach(9);  
  Servo6.attach(8);  
  
  while(quickstartTime < 6) { //if the quickstart button is pressed when the system turns on, skip the delays and serial readouts
  quickstartTime + 0.01;
  if(digitalRead(buttonPin == HIGH)){
    quickstartTime +6;
    goto quickstart;
  }
  delay(1);
  }
  Serial.println("Man and Robot, Walk alike");
  Serial.println("]---------------------------------------------------------------------------[");
  Serial.println("Project by Kyle Sowry in Room 54");
  Serial.println("Bipedal robot controlled by a pair of pants");
  Serial.println("In the serial monitor, you can read the values being sent to the servos");
  Serial.println("    Servos 5/6                 |=|----|=|                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("    Servos 3/4                 (=|    |=)                   ");
  Serial.println("                               | |    | |   = is a servo    ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("    Servos 1/2                 |=|    |=|                   ");
  Serial.println("                            ___|_|    |_|___                ");
  Serial.println("");
  Serial.println("Upon start, try to keep a straight leg to begin with and slowly move joints to test");
  Serial.println("]---------------------------------------------------------------------------[");
  delay(5000);
  Serial.println("Testing in:");
  delay(1000);
  Serial.println("5");
  delay(1000);
  Serial.println("4");
  delay(1000);
  Serial.println("3");
  delay(1000);
  Serial.println("2");
  delay(1000);
  Serial.println("1");
  delay(1000);
  quickstart:
  }
  

void loop() 
{ 
  newvalS1 = analogRead(potpinS1); //set "newval" for each servo/sensor to equal the reading from the flex sensors
  newvalS2 = analogRead(potpinS2);           
  newvalS3 = analogRead(potpinS3);           
  newvalS4 = analogRead(potpinS4);           
  newvalS5 = analogRead(potpinS5);           
  newvalS6 = analogRead(potpinS6);           
  newvalS1 = map(newvalS1, 300, 600, 0, 179); //map each "newval" to an appropriate reading for the flex sensor
  newvalS2 = map(newvalS2, 300, 600, 0, 179); 
  newvalS3 = map(newvalS3, 300, 600, 0, 179); 
  newvalS4 = map(newvalS4, 300, 600, 0, 179); 
  newvalS5 = map(newvalS5, 300, 600, 0, 179); 
  newvalS6 = map(newvalS6, 300, 600, 0, 179); 
  if (newvalS1 < (oldvalS1-range) || newvalS1 > (oldvalS1+range)){ //   From here onward is a series of calculations that do an important job: keep the servos still while the flex sensors are not moving. It reduces noise picked up along the cable.
    if(quickstartOn == false) { //                                      This statement find out if the quickstart button was pressed at the beginning. if it wasn't, the serial info will be sent. if the button was pressed, the data will not be sent. this is because sending serial data takes up the most time in the Arduino's processing, which can slow down the servo updating and make it jittery
    Serial.print("1- ");
    Serial.println(newvalS1);
    oldvalS1=newvalS1;
    Servo1.write(newvalS1);
    }else{
    oldvalS1=newvalS1;
    Servo1.write(newvalS1);
    }
  if (newvalS2 < (oldvalS2-range) || newvalS2 > (oldvalS2+range)){ 
    if(quickstartOn == false) {
    Serial.print("2- ");
    Serial.println(newvalS1);
    oldvalS2=newvalS2;
    Servo2.write(newvalS2);
    }else{
    oldvalS2=newvalS2;
    Servo2.write(newvalS2);
    }
  if (newvalS3 < (oldvalS3-range) || newvalS3 > (oldvalS3+range)){ 
    if(quickstartOn == false) {
    Serial.print("3- ");
    Serial.println(newvalS3);
    oldvalS3=newvalS3;
    Servo3.write(newvalS3);
    }else{
    oldvalS3=newvalS3;
    Servo3.write(newvalS3);
    }
   if (newvalS4 < (oldvalS4-range) || newvalS4 > (oldvalS4+range)){ 
    if(quickstartOn == false) {
    Serial.print("4- ");
    Serial.println(newvalS4);
    oldvalS4=newvalS4;
    Servo4.write(newvalS4);
    }else{
    oldvalS4=newvalS4;
    Servo4.write(newvalS4);
    }
   if (newvalS5 < (oldvalS5-range) || newvalS5 > (oldvalS5+range)){ 
    if(quickstartOn == false) {
    Serial.print("5- ");
    Serial.println(newvalS5);
    oldvalS5=newvalS5;
    Servo1.write(newvalS5);
    }else{
    oldvalS5=newvalS1;
    Servo1.write(newvalS5);
    }
   if (newvalS6 < (oldvalS6-range) || newvalS6 > (oldvalS6+range)){ 
    if(quickstartOn == false) {
    Serial.print("6- ");
    Serial.println(newvalS6);
    oldvalS6=newvalS6;
    Servo1.write(newvalS6);
    }else{
    oldvalS6=newvalS6;
    Servo6.write(newvalS6);
    }
    delay(2); //slow down looping for easier serial debug and less jitter. Delay can be increased or decreased depending on servo.
  }
   }

is getting an error. compile it and find it. I cant seem to it.

any ideas?

help would be appreciated

Well, You could leave the GoTo out of it, and use an else statement.
Further:
Your missing like 6 (!!!) closing brackets! (})

#include <Servo.h> 

Servo Servo1; // creates an object for each servo
Servo Servo2;
Servo Servo3;
Servo Servo4;
Servo Servo5;
Servo Servo6;

const int buttonPin = 7; // declares pin for the Quickstart button

const int potpinS1 = A0;  //analog input pin A0
const int potpinS2 = A1;  //analog input pin A0
const int potpinS3 = A2;  //analog input pin A0
const int potpinS4 = A3;  //analog input pin A0
const int potpinS5 = A4;  //analog input pin A0
const int potpinS6 = A5;  //analog input pin A0

int newvalS1, oldvalS1;
int newvalS2, oldvalS2;
int newvalS3, oldvalS3;
int newvalS4, oldvalS4;
int newvalS5, oldvalS5;
int newvalS6, oldvalS6;

int buttonState = 0;

int range = 2;

boolean quickstartOn = false;
int quickstartTime = 0;

void setup() 
{
  Serial.begin(9600);  //For debugging
  Servo1.attach(13);  
  Servo2.attach(12);   
  Servo3.attach(11);   //assigning each servo a pin
  Servo4.attach(10);  
  Servo5.attach(9);  
  Servo6.attach(8);  
  
  while(quickstartTime < 6) { //if the quickstart button is pressed when the system turns on, skip the delays and serial readouts
  quickstartTime + 0.01;
  if(digitalRead(buttonPin == HIGH)){
    quickstartTime +6;
  } else {
  delay(1);
  
  Serial.println("Man and Robot, Walk alike");
  Serial.println("]---------------------------------------------------------------------------[");
  Serial.println("Project by Kyle Sowry in Room 54");
  Serial.println("Bipedal robot controlled by a pair of pants");
  Serial.println("In the serial monitor, you can read the values being sent to the servos");
  Serial.println("    Servos 5/6                 |=|----|=|                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("    Servos 3/4                 (=|    |=)                   ");
  Serial.println("                               | |    | |   = is a servo    ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("    Servos 1/2                 |=|    |=|                   ");
  Serial.println("                            ___|_|    |_|___                ");
  Serial.println("");
  Serial.println("Upon start, try to keep a straight leg to begin with and slowly move joints to test");
  Serial.println("]---------------------------------------------------------------------------[");
  delay(5000);
  Serial.println("Testing in:");
  delay(1000);
  Serial.println("5");
  delay(1000);
  Serial.println("4");
  delay(1000);
  Serial.println("3");
  delay(1000);
  Serial.println("2");
  delay(1000);
  Serial.println("1");
  delay(1000);
  }
  }
}


void loop() 
{ 
  newvalS1 = analogRead(potpinS1); //set "newval" for each servo/sensor to equal the reading from the flex sensors
  newvalS2 = analogRead(potpinS2);           
  newvalS3 = analogRead(potpinS3);           
  newvalS4 = analogRead(potpinS4);           
  newvalS5 = analogRead(potpinS5);           
  newvalS6 = analogRead(potpinS6);           
  newvalS1 = map(newvalS1, 300, 600, 0, 179); //map each "newval" to an appropriate reading for the flex sensor
  newvalS2 = map(newvalS2, 300, 600, 0, 179); 
  newvalS3 = map(newvalS3, 300, 600, 0, 179); 
  newvalS4 = map(newvalS4, 300, 600, 0, 179); 
  newvalS5 = map(newvalS5, 300, 600, 0, 179); 
  newvalS6 = map(newvalS6, 300, 600, 0, 179); 
  if (newvalS1 < (oldvalS1-range) || newvalS1 > (oldvalS1+range)){ //   From here onward is a series of calculations that do an important job: keep the servos still while the flex sensors are not moving. It reduces noise picked up along the cable.
    if(quickstartOn == false) { //                                      This statement find out if the quickstart button was pressed at the beginning. if it wasn't, the serial info will be sent. if the button was pressed, the data will not be sent. this is because sending serial data takes up the most time in the Arduino's processing, which can slow down the servo updating and make it jittery
    Serial.print("1- ");
    Serial.println(newvalS1);
    oldvalS1=newvalS1;
    Servo1.write(newvalS1);
    }else{
    oldvalS1=newvalS1;
    Servo1.write(newvalS1);
    }
  if (newvalS2 < (oldvalS2-range) || newvalS2 > (oldvalS2+range)){ 
    if(quickstartOn == false) {
    Serial.print("2- ");
    Serial.println(newvalS1);
    oldvalS2=newvalS2;
    Servo2.write(newvalS2);
    }else{
    oldvalS2=newvalS2;
    Servo2.write(newvalS2);
    }
  if (newvalS3 < (oldvalS3-range) || newvalS3 > (oldvalS3+range)){ 
    if(quickstartOn == false) {
    Serial.print("3- ");
    Serial.println(newvalS3);
    oldvalS3=newvalS3;
    Servo3.write(newvalS3);
    }else{
    oldvalS3=newvalS3;
    Servo3.write(newvalS3);
    }
   if (newvalS4 < (oldvalS4-range) || newvalS4 > (oldvalS4+range)){ 
    if(quickstartOn == false) {
    Serial.print("4- ");
    Serial.println(newvalS4);
    oldvalS4=newvalS4;
    Servo4.write(newvalS4);
    }else{
    oldvalS4=newvalS4;
    Servo4.write(newvalS4);
    }
   if (newvalS5 < (oldvalS5-range) || newvalS5 > (oldvalS5+range)){ 
    if(quickstartOn == false) {
    Serial.print("5- ");
    Serial.println(newvalS5);
    oldvalS5=newvalS5;
    Servo1.write(newvalS5);
    }else{
    oldvalS5=newvalS1;
    Servo1.write(newvalS5);
    }
   if (newvalS6 < (oldvalS6-range) || newvalS6 > (oldvalS6+range)){ 
    if(quickstartOn == false) {
    Serial.print("6- ");
    Serial.println(newvalS6);
    oldvalS6=newvalS6;
    Servo1.write(newvalS6);
    }else{
    oldvalS6=newvalS6;
    Servo6.write(newvalS6);
    }
    delay(2); //slow down looping for easier serial debug and less jitter. Delay can be increased or decreased depending on servo.
  }
   }
   
   }
   
  }
  
  }
  
  }
  }

I didn’t clean your code, just removed the GoTo and added the CORRECT amount of brackets

woah.. all those brackets...

huh.. I thought I had tried using an else and it didn't work... oh well, msut be that alzheimers again, hitting me at 12 years old lol

YW

Luckily i'm not a cat because now i'm curious: Whats your bipedal robot like? Any pictures?

I just put a dummy statement delay(1); after the quickstart: label, then it compiled (with the missing brackets added too!). Compiler quirk maybe. I wouldn't recommend using goto though...

Serial.println("Man and Robot, Walk alike");
  Serial.println("]---------------------------------------------------------------------------[");
  Serial.println("Project by Kyle Sowry in Room 54");
  Serial.println("Bipedal robot controlled by a pair of pants");
  Serial.println("In the serial monitor, you can read the values being sent to the servos");
  Serial.println("    Servos 5/6                 |=|----|=|                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("    Servos 3/4                 (=|    |=)                   ");
  Serial.println("                               | |    | |   = is a servo    ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("    Servos 1/2                 |=|    |=|                   ");
  Serial.println("                            ___|_|    |_|___                ");
  Serial.println("");
  Serial.println("Upon start, try to keep a straight leg to begin with and slowly move joints to test");
  Serial.println("]---------------------------------------------------------------------------[");

I think shortage of RAM looms large in your future.

Learn about the F() macro.

    quickstartTime + 0.01;

Adding zero to an integer and not putting the result anywhere seems entirely pointless to me.

#include <Servo.h> 

Servo Servo1; // creates an object for each servo
Servo Servo2;
Servo Servo3;
Servo Servo4;
Servo Servo5;
Servo Servo6;

const int buttonPin = 7; // declares pin for the Quickstart button

const int potpinS1 = A0;  //analog input pin A0
const int potpinS2 = A1;  //analog input pin A0
const int potpinS3 = A2;  //analog input pin A0
const int potpinS4 = A3;  //analog input pin A0
const int potpinS5 = A4;  //analog input pin A0
const int potpinS6 = A5;  //analog input pin A0

int newvalS1, oldvalS1;
int newvalS2, oldvalS2;
int newvalS3, oldvalS3;
int newvalS4, oldvalS4;
int newvalS5, oldvalS5;
int newvalS6, oldvalS6;

int buttonState = 0;

int range = 2;

boolean quickstartOn = false;
int quickstartTime = 0;

void setup() 
{
  Serial.begin(9600);  //For debugging
  Servo1.attach(13);  
  Servo2.attach(12);   
  Servo3.attach(11);   //assigning each servo a pin
  Servo4.attach(10);  
  Servo5.attach(9);  
  Servo6.attach(8);  
  
  while(quickstartTime < 6) { //if the quickstart button is pressed when the system turns on, skip the delays and serial readouts
  quickstartTime + 0.01;
  if(digitalRead(buttonPin == HIGH)){
    quickstartTime +6;
    goto quickstart;
  }
  delay(1);
  
  Serial.println("Man and Robot, Walk alike");
  Serial.println("]---------------------------------------------------------------------------[");
  Serial.println("Project by Kyle Sowry in Room 54");
  Serial.println("Bipedal robot controlled by a pair of pants");
  Serial.println("In the serial monitor, you can read the values being sent to the servos");
  Serial.println("    Servos 5/6                 |=|----|=|                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("    Servos 3/4                 (=|    |=)                   ");
  Serial.println("                               | |    | |   = is a servo    ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("                               | |    | |                   ");
  Serial.println("    Servos 1/2                 |=|    |=|                   ");
  Serial.println("                            ___|_|    |_|___                ");
  Serial.println("");
  Serial.println("Upon start, try to keep a straight leg to begin with and slowly move joints to test");
  Serial.println("]---------------------------------------------------------------------------[");
  delay(5000);
  Serial.println("Testing in:");
  delay(1000);
  Serial.println("5");
  delay(1000);
  Serial.println("4");
  delay(1000);
  Serial.println("3");
  delay(1000);
  Serial.println("2");
  delay(1000);
  Serial.println("1");
  delay(1000);
  quickstart:
  }
}


void loop() 
{ 
  newvalS1 = analogRead(potpinS1); //set "newval" for each servo/sensor to equal the reading from the flex sensors
  newvalS2 = analogRead(potpinS2);           
  newvalS3 = analogRead(potpinS3);           
  newvalS4 = analogRead(potpinS4);           
  newvalS5 = analogRead(potpinS5);           
  newvalS6 = analogRead(potpinS6);           
  newvalS1 = map(newvalS1, 300, 600, 0, 179); //map each "newval" to an appropriate reading for the flex sensor
  newvalS2 = map(newvalS2, 300, 600, 0, 179); 
  newvalS3 = map(newvalS3, 300, 600, 0, 179); 
  newvalS4 = map(newvalS4, 300, 600, 0, 179); 
  newvalS5 = map(newvalS5, 300, 600, 0, 179); 
  newvalS6 = map(newvalS6, 300, 600, 0, 179); 
  if (newvalS1 < (oldvalS1-range) || newvalS1 > (oldvalS1+range)){ //   From here onward is a series of calculations that do an important job: keep the servos still while the flex sensors are not moving. It reduces noise picked up along the cable.
    if(quickstartOn == false) { //                                      This statement find out if the quickstart button was pressed at the beginning. if it wasn't, the serial info will be sent. if the button was pressed, the data will not be sent. this is because sending serial data takes up the most time in the Arduino's processing, which can slow down the servo updating and make it jittery
    Serial.print("1- ");
    Serial.println(newvalS1);
    oldvalS1=newvalS1;
    Servo1.write(newvalS1);
    }else{
    oldvalS1=newvalS1;
    Servo1.write(newvalS1);
    }
  if (newvalS2 < (oldvalS2-range) || newvalS2 > (oldvalS2+range)){ 
    if(quickstartOn == false) {
    Serial.print("2- ");
    Serial.println(newvalS1);
    oldvalS2=newvalS2;
    Servo2.write(newvalS2);
    }else{
    oldvalS2=newvalS2;
    Servo2.write(newvalS2);
    }
  if (newvalS3 < (oldvalS3-range) || newvalS3 > (oldvalS3+range)){ 
    if(quickstartOn == false) {
    Serial.print("3- ");
    Serial.println(newvalS3);
    oldvalS3=newvalS3;
    Servo3.write(newvalS3);
    }else{
    oldvalS3=newvalS3;
    Servo3.write(newvalS3);
    }
   if (newvalS4 < (oldvalS4-range) || newvalS4 > (oldvalS4+range)){ 
    if(quickstartOn == false) {
    Serial.print("4- ");
    Serial.println(newvalS4);
    oldvalS4=newvalS4;
    Servo4.write(newvalS4);
    }else{
    oldvalS4=newvalS4;
    Servo4.write(newvalS4);
    }
   if (newvalS5 < (oldvalS5-range) || newvalS5 > (oldvalS5+range)){ 
    if(quickstartOn == false) {
    Serial.print("5- ");
    Serial.println(newvalS5);
    oldvalS5=newvalS5;
    Servo1.write(newvalS5);
    }else{
    oldvalS5=newvalS1;
    Servo1.write(newvalS5);
    }
   if (newvalS6 < (oldvalS6-range) || newvalS6 > (oldvalS6+range)){ 
    if(quickstartOn == false) {
    Serial.print("6- ");
    Serial.println(newvalS6);
    oldvalS6=newvalS6;
    Servo1.write(newvalS6);
    }else{
    oldvalS6=newvalS6;
    Servo6.write(newvalS6);
    }
    delay(2); //slow down looping for easier serial debug and less jitter. Delay can be increased or decreased depending on servo.
  }
   }
   
   }
   
  }
  
  }
  
  }
  }
  }

why doesn’t that work?

i’ll send some pics later. it’s full size 1:1 scale. for a school science fair.

yeah, heard about f() ill look into it (converts sram to flash right?)

btw AWOL it’s like a counter. im still working on it

Good night from NZ. Will reply in the morning.

quickstartTime + 0.01; ???

Why does it compile?

Look at the FLASH usage, 6714 bytes with above, 7354 with quickstartTime += 0.01; and quickstartTime += 6;

Lot more going on there than meets the eye...

  newvalS1 = analogRead(potpinS1); //set "newval" for each servo/sensor to equal the reading from the flex sensors
  newvalS2 = analogRead(potpinS2);          
  newvalS3 = analogRead(potpinS3);          
  newvalS4 = analogRead(potpinS4);          
  newvalS5 = analogRead(potpinS5);          
  newvalS6 = analogRead(potpinS6);          
  newvalS1 = map(newvalS1, 300, 600, 0, 179); //map each "newval" to an appropriate reading for the flex sensor
  newvalS2 = map(newvalS2, 300, 600, 0, 179);
  newvalS3 = map(newvalS3, 300, 600, 0, 179);
  newvalS4 = map(newvalS4, 300, 600, 0, 179);
  newvalS5 = map(newvalS5, 300, 600, 0, 179);
  newvalS6 = map(newvalS6, 300, 600, 0, 179);
  if (newvalS1 < (oldvalS1-range) || newvalS1 > (oldvalS1+range)){ //   From here onward is a series of calculations that do an important job: keep the servos still while the flex sensors are not moving. It reduces noise picked up along the cable.
    if(quickstartOn == false) { //                                      This statement find out if the quickstart button was pressed at the beginning. if it wasn't, the serial info will be sent. if the button was pressed, the data will not be sent. this is because sending serial data takes up the most time in the Arduino's processing, which can slow down the servo updating and make it jittery
    Serial.print("1- ");
    Serial.println(newvalS1);
    oldvalS1=newvalS1;
    Servo1.write(newvalS1);
    }else{
    oldvalS1=newvalS1;
    Servo1.write(newvalS1);
    }
  if (newvalS2 < (oldvalS2-range) || newvalS2 > (oldvalS2+range)){
    if(quickstartOn == false) {
    Serial.print("2- ");
    Serial.println(newvalS1);
    oldvalS2=newvalS2;
    Servo2.write(newvalS2);
    }else{
    oldvalS2=newvalS2;
    Servo2.write(newvalS2);
    }

When you start seeing near-identical variable names differing only in their suffixes and blocks of identical code, it’s time to consider arrays.
Your code will be shorter, easier to read and easier to maintain, because the bugs will have fewer dark corners to hide in.

MarkDH: quickstartTime + 0.01; ???

Why does it compile?

Look at the FLASH usage, 6714 bytes with above, 7354 with quickstartTime += 0.01; and quickstartTime += 6;

Lot more going on there than meets the eye...

Why shouldn't it compile?

Like I said, a lot of effort to go to for no reward (if anything, I'm a little surprised the compiler didn't optimise it out)

Lot of stuff I don't understand going on here but I'll resend some optimised code in the morning. Keep talking and I'll see it tomorrow. I'll also send my end goal so maybe I can rewrite the entire code with your suggestions

why doesn’t that work?

It does, for some definitions of “work”.

Simply tacking on a load of closing braces at the end wasn’t the right solution.

if(digitalRead(buttonPin == HIGH))

buttonPin has the value 7, HIGH has the value 1. Because seven is almost never equal to one, reading pin zero is not what you want to do.

Tryif(digitalRead(buttonPin) == HIGH) instead.

When you do your rewrite, if your sketch is more than about 80 lines long, you've done it wrong.

Error 1 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\depot\development\Projects\products\DynamometerControllerModule\EssexLogFileReader\EssexLogFileReader\WindowsFormsApplication1\Form1.cs 76 13 WindowsFormsApplication1

I get this error when compiling in Visual Studio with the statement:

x + 1;

In CodeWarrior, I also get a Warning: expression has no side effects.

I get this error when compiling in Visual Studio with the statement:

x + 1;

What do you actually expect this stupid, useless, statement to do ?

michinyon: What do you actually expect this stupid, useless, statement to do ?

Indicating that other compilers do pick up this issue?

it’s full size 1:1 scale. for a school science fair.

I can’t wait to see the size of the servos and I hope to goodness that they are not being powered directly from the Arduino.

C-F-K - thanks, you hit the nail on the head...