Welcome to the Treehouse Community
Looking to learn something new?
Hey I'm learning pascal in A level computing. I'm on case statements/ case branching and i'm stuck with this error :
Fatal: Syntax error, END expected but . found
Here is the code : program littlemenu;
var choice: integer;
begin writeln('what would you like to do ?  delete file  put file in trash  keep file'); readln(choice); case choice of 1: begin; writeln('file deleted');
case choice of 2: begin writeln('file in trash'); case choice of 3:begin writeln('file stored safely'); end; else begin writeln('Invalid'); end;
Never seen a Pascal course on here. Try posting your question to http://stackoverflow.com they have a Pascal tag so im sure someone on there will be able to assist. I would be more descriptive in question though or they will mark it down.