Posted: Mon Oct 06, 2003 10:54 am Post subject: Stopping fork processes in turing 3.11 when clicking GUI
anyone know how to stop a fork? I made a menu for a game and set the thing so that when I click a GUI button, the whole this clears and it shows a little screen saying game over. This is only a a menu not a game. So... I click it and it does everything but the forks keeping going at it. I've tried doing some googles (searches) but nothing on how to stop forks. Any help? I'm at school and class is over... I'll post the source code when I get home if You really need it to fix the program.
Posted: Mon Oct 06, 2003 4:17 pm Post subject: (No subject)
eh... why fork another process? create the window in the same process
Posted: Mon Oct 06, 2003 4:54 pm Post subject: (No subject)
return works for processes as well as procedures
Posted: Mon Oct 06, 2003 5:47 pm Post subject: (No subject)
you can set a flag variable in the process and change its value when you want to quit. then right when the loop begins again in the process, you check the variable if you need to quit or not.