Computer Science Canada restart application |
Author: | endusto [ Sun Feb 13, 2005 2:35 pm ] |
Post subject: | restart application |
is there a code to restart the application? |
Author: | Drakain Zeil [ Sun Feb 13, 2005 3:08 pm ] |
Post subject: | |
You could put it (the entire program) in a loop I supose, what are you trying to do? |
Author: | endusto [ Sun Feb 13, 2005 3:21 pm ] | ||
Post subject: | |||
lol i meant to say close, not restart, im just making a guessing game for school.
thats the code, but i want it so like if you press 4 it will exit. |
Author: | Bacchus [ Sun Feb 13, 2005 3:42 pm ] |
Post subject: | |
theres a tutorial on that. 3 things you should do b4 u post: 1:Read CompSci Tutorials 2:Search for Help 3:Press F10 |
Author: | Andy [ Sun Feb 13, 2005 5:21 pm ] |
Post subject: | |
return will end the program/subprogram immediately |
Author: | endusto [ Sun Feb 13, 2005 5:45 pm ] |
Post subject: | |
i still couldnnt find it in the manual, what code do i use to close the program? |
Author: | Drakain Zeil [ Sun Feb 13, 2005 6:07 pm ] |
Post subject: | |
I believe there is part of the GUI that lets you open windows, assign that window's ID number to a variable, then close it later. Read the GUI manuals on opening windows, or check the tutorials here. |
Author: | ssr [ Sun Feb 13, 2005 6:11 pm ] | ||||
Post subject: | |||||
check the tutorials to learn them or press f 10 [/quote] |