So what I'm trying to do is make a store for my game. This store will have 4 menus in it when it's complete. 1. Main welcome to the shop menu to select which type of shopping you'd like to do2. Attack skills menu3. Other skills menu4. Upgrade menu

Once the player has completed the shopping they wished to do I use a Break command to back out into the previous menu.Before I started adding submenus the process worked out well enough. Now, however, the break commands generate errors. Specifically: SyntaxError: 'break' outside loop

Here is the relevant coding, although I suspect the issue is a misunderstanding on my part and not the code itself:

BEAUTIFUL!Thankyou so much for putting me on the right path sir. I had a feeling it was a misunderstanding on my part, and sure enough it was. I didn't realize you could use a return without passing any data and just go up a nesting level.