thread is over.

singh

Golden Member
Jul 5, 2001
1,449
0
0
All the errors are syntax errors (due to missing '}' braces). Also, why in the world do you have a variable and a function by the same name? I mean, you declare a variable called "diagonal" and then you also specify a function called "diagonal". It is basic programming sense to avoid doing that whenever you can (by the way, that's one of the errors - the compiler thinks you are referring to a variable called "dialogonal" and not the function by the same name).