Issues with Code. Error Code E0065 expected a ';'

I have gone over the code 3 times, rewritten twice and can not seem to find the Issue as well as the E0065 error I am also getting Local function definitions are illegal. line 27 and 36.

Any help is appreciated

Thanks

your code tries to declare two functions inside another function. Cut the lines [26-46] and paste at line 7

your main closing curly is at 47, should be at 24.

thank you both

Privacy & Terms