Computer Science Canada Creating New Instances of a Procedure |
| Author: | Searing [ Tue Jun 08, 2010 7:40 pm ] | ||
| Post subject: | Creating New Instances of a Procedure | ||
What is it you are trying to achieve? I am trying to create a window with a top-bar menu which leads to an input screen, which gets the input and goes back to the main screen What is the problem you are having? To call the procedure that creates the pop-up window, that procedure must be above the procedure that creates the menu, but for that pop-up window to go back to the main screen, it has to have THAT procedure above it, which creates the paradox in which both procedures need to be above one another. Describe what you have tried to solve this problem I tried to think if I could use a loop, but because I am using buttons, I already have a GUI.ProcessEvent loop, so I have thought about creating another instance of a procedure, which I don't really know how to do Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) Here is all my code:
Please specify what version of Turing you are using 4.1.1 |
|||
| Author: | chrisbrown [ Tue Jun 08, 2010 7:54 pm ] |
| Post subject: | RE:Creating New Instances of a Procedure |
Does <a href="http://compsci.ca/v3/viewtopic.php?p=216995">this thread</a> answer your question? |
|
| Author: | Searing [ Tue Jun 08, 2010 7:59 pm ] |
| Post subject: | RE:Creating New Instances of a Procedure |
Wow, yes actually, thanks a lot. I didn't really know what to search for, you've saved my ISP XD |
|
| Author: | chrisbrown [ Tue Jun 08, 2010 8:08 pm ] |
| Post subject: | RE:Creating New Instances of a Procedure |
Glad to help (or guide, at least). It's not an easy thing to find if you don't know what you're looking for. |
|
| Author: | Searing [ Tue Jun 08, 2010 8:19 pm ] |
| Post subject: | RE:Creating New Instances of a Procedure |
Umm, how do I get this thread deleted? I just noticed I have source code up, which while incomplete, was sort of stupid of me |
|
| Author: | Monduman11 [ Tue Jun 08, 2010 8:24 pm ] |
| Post subject: | Re: Creating New Instances of a Procedure |
umm i dont know i asked tony to delete one of my old ones cause i had a large portion of my game source code and he still hasnt deleted it.... its been almost a month lol |
|
| Author: | Searing [ Tue Jun 08, 2010 8:25 pm ] |
| Post subject: | RE:Creating New Instances of a Procedure |
Not good, huh, well could I please get a link to the admin group so I could PM a few to delete my thread? |
|
| Author: | Monduman11 [ Tue Jun 08, 2010 8:26 pm ] |
| Post subject: | Re: Creating New Instances of a Procedure |
umm i dont think there is a link but if you go to the turing help or turing tutorial and look for all the the names that are red or blue you can pm them cause their either admin or mod |
|
| Author: | Searing [ Tue Jun 08, 2010 8:33 pm ] |
| Post subject: | RE:Creating New Instances of a Procedure |
Strange, most forums have an administrator or moderator group. Thank you for the advice though, I have PMed several moderators and administrators |
|
| Author: | USEC_OFFICER [ Tue Jun 08, 2010 8:41 pm ] |
| Post subject: | RE:Creating New Instances of a Procedure |
PM Dan or Tony, they are the ones who can delete it. Though I have no idea why you would want to do that. |
|
| Author: | Tony [ Tue Jun 08, 2010 9:24 pm ] |
| Post subject: | RE:Creating New Instances of a Procedure |
Dan and myself are administrators. Though we typically don't delete threads. |
|
| Author: | copthesaint [ Wed Jun 09, 2010 10:35 am ] |
| Post subject: | RE:Creating New Instances of a Procedure |
You won't get into any trouble posting SC here! Alot of people with projects for culminating are worried that they will be accused of plagerism by posting SC here, but there is NOTHING to worry about #1 your game will never make it big if it's for a programing language like turing, and even if it's in a language like C+ or java even then your most likly not making a game that will become known at all. its for educational purposes and all for fun. #2 If you are acussed of steal anothers code, you can show the teacher that it is your account which you posted the source code, and there is the date which it is posted as well, incase someone has taken your code and used it else where. #3 Programing teachers don't look to see if you plagiarized IF YOU COMMENT AND UNDERSTAND WHAT YOUR DOING! but anyways... lol to make a meaningful 400th post :p |
|