Originally Posted By: Uhrwerk
Your flag definition is alright. But you have to place "on_esc = open_menu;
" inside a function, e.g. the main function or start_simulate. Event definitions are not allowed outside functions in Lite-C.


Thanks! Before I used C-lite I've worked many years with C-script \:\)