Quote:
Originally Posted by Tom Line
You can't have two else statements like that.
|
Look at the code again.
It's lost its indentation, so it's hard to see, but the code is perfectly fine.
The second else belongs to the first of two if's.
I'm guessing the problem is not in line 232, but somewhere before that line.
The compiler was expecting something like a semicolon at the end of a previous line, but didn't complain about it until it found the start brace in line 232, which it wasn't expecting.
Look over the code just before "void code()".