4 bottons in one analog input

Hi,
What is this structure supposed to do?

case 110:
while (analogRead(1) > 700)
{ //when the "button ok"is press the pump works

digitalWrite(8, 0);
** }**
** {**
digitalWrite(8, 1);
lcd.clear(); lcd.setCursor(0, 0);
lcd.print(" if you are done");
lcd.setCursor(0, 1);
lcd.print (" press <<<");
}

break;

Did you begin and write this code, or have you got it from another source.
The formatting and syntax is all over the place.
Tom... :slight_smile: