Navigating menus

Blitz3D Forums/Blitz3D Beginners Area/Navigating menus

Err, i just tested this code to put in the main menu, (instead of ending) and it ends the program, but ingame when i press keyhit(1) (ESC) it makes the veriable selection=1

this should bring me back to the main menu... but it decides to close it...