Computer Science Canada Someone explain why 3 procedures won't work?? |
Author: | Honsly [ Sat May 18, 2013 12:13 pm ] | ||
Post subject: | Someone explain why 3 procedures won't work?? | ||
What is it you are trying to achieve? I'm am simply trying to get 3 procedures to happen simultaneously. What is the problem you are having? For some reason only 2 procedures work, the last won't doesn't happen. Describe what you have tried to solve this problem I've tried rearranging the, looping them etc. Nothing works, only 2. Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) Take a look
Please specify what version of Turing you are using 4.1.1 |
Author: | Nathan4102 [ Sat May 18, 2013 1:14 pm ] |
Post subject: | RE:Someone explain why 3 procedures won\'t work?? |
Turing executes things in order, so what you're telling it to do is "Execute "Bball", then "man", then "bouncy"". To get them all going simultaneously, you need to loop your procedure calls, and remove the loops from inside your procedures. |
Author: | Raknarg [ Sat May 18, 2013 1:57 pm ] |
Post subject: | RE:Someone explain why 3 procedures won\'t work?? |
Right. See how when you call your second procedure, it goes into a loop? You never tell it to leave that loop, so it never gets to the third procedure. |