Computer Science Canada Back Button Help |
Author: | McDermaid16 [ Fri Apr 17, 2009 1:19 pm ] | ||
Post subject: | Back Button Help | ||
HI i was wondering if there is any possible way to create a back button which would bring you back to the beginning of the program so kind of like a restart button i have searched already and have yet to find anything that has worked. My code is below the button would be put after you have selected which shape to draw.
Im using version 4.1.1a |
Author: | Euphoracle [ Fri Apr 17, 2009 3:37 pm ] |
Post subject: | RE:Back Button Help |
Wow, that is a ridiculous amount of superfluous commenting. |
Author: | BigBear [ Fri Apr 17, 2009 8:01 pm ] |
Post subject: | RE:Back Button Help |
you could make it a procedure and call it multiple times |
Author: | TheGuardian001 [ Fri Apr 17, 2009 11:44 pm ] |
Post subject: | Re: Back Button Help |
I would probably go with a procedure too, unless of course you haven't learned those yet, in which case you could use nested loops, by wrapping the entire program (minus declarations) in a loop. This would cause the program to repeat without being prompted, but you can probably figure it out from there. Some other things I should point out: -mousehide and mouseshow are not currently implemented and will do nothing. -is there any point in having a loop that will exit after 1 run no matter what? |
Author: | Tallguy [ Mon Apr 20, 2009 7:27 am ] |
Post subject: | RE:Back Button Help |
and way too many comments lol |
Author: | 80660134 [ Wed Nov 05, 2014 9:43 pm ] |
Post subject: | RE:Back Button Help |
I have a problem with going back botton too because I use GUICreateButton |