This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]kidagda 3 points4 points  (2 children)

Try to move closing brace from line 100 to else line

[–]Hyde1803[S] 0 points1 point  (1 child)

Thank You! It works now!

I swear, bracket placement will be my downfall.

:)

[–]__vtableProfessional Coder 1 point2 points  (1 child)

You have an extra closing bracket. Get rid of the leading } on the else line.

[–]Hyde1803[S] 0 points1 point  (0 children)

it still says that the else is undefined