Computer Science Canada Break Command/Passing Array Directly Into Procedure |
Author: | Jeffmagma [ Sun Dec 27, 2015 11:53 am ] |
Post subject: | Break Command/Passing Array Directly Into Procedure |
I have 2 quick questions: 1. Is there a command in turing that lets you exit a for loop? 2. How do I pass an array directly into a procedure that requires an array? For example drawfillpolygon, do I need a variable for that or is there a way to use an array directly? |
Author: | Zren [ Sun Dec 27, 2015 12:07 pm ] |
Post subject: | RE:Break Command/Passing Array Directly Into Procedure |
1. exit should work. 2. init maybe? Iunno if it'll work. |
Author: | Jeffmagma [ Sun Dec 27, 2015 3:33 pm ] |
Post subject: | RE:Break Command/Passing Array Directly Into Procedure |
Thanks for your help! exit works, I thought it was only for endless loops, and init doesn't work... I guess ill just stick to variables then |