At your present skill level, two things might help:
1. Be very, very careful with your indentation, particularly when you're passing a bunch of stuff to print. You've got at least one case of
This makes life hard on whoever is reading the code, and make it a bit more difficult to map an error message back to the source text. By being careful with indentation, it's a lot easier to see quickly when a comma is needed instead of a semicolon.print a, b, c, ...
print a, b, c, ...
There's a problem in your code that'll pop right out if you do this. (And, strangely enough, it looks very close to the problem I pointed out to you via /msg yesterday.)
2. If you're still having problems, use smaller statements. In this case,
print a; print b; print c;
It's a lot harder to embed an error in a long statement if you keep your statements short.
In reply to Re: Syntax errors galore, need a good debugging
by dws
in thread Syntax errors galore, need a good debugging
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |