Out Bracket expected

Domingquez Hi
I'm new to sci studio.
I went through the tutorial and when I compiled after adding my door.It gave an error message and said an out bracket is expected at the end of the file.
When I added the bracket it said unknwoun symbol key where I added my key
AGI1122 You might want to post your code, so we can see what the problem is.