in reply to Syntax errors galore, need a good debugging

Problem might be I've never been sure where to use commas instead of semi colons so I've only used commas for tables and forms and colons for everything else.

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

print a, b, c, ...
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, ...

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.