Note: The last line of code in your second pic should look like this: IF CMD$=="EXIT" THEN BEEP 4: GOTO @MENU You need the colon. The program thinks you're trying to do a multi-line IF statement, hence why it's asking for an ENDIF. Assuming you haven't done anything to your program after the SECOND post, try doing that.