Computer Science Canada Ignoring IF staments |
Author: | nonamedude [ Tue Jun 02, 2009 9:10 pm ] | ||
Post subject: | Ignoring IF staments | ||
What is it you are trying to achieve? Its the third time i try to post this lol. Ignoring the if statement if the variable has no value, run the example to get a better view What is the problem you are having? Variable has no value Describe what you have tried to solve this problem No solutions yet Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) <Answer Here>
Please specify what version of Turing you are using <Answer Here> |
Author: | Diablo117 [ Tue Jun 02, 2009 9:17 pm ] |
Post subject: | Re: Ignoring IF staments |
heh, stopping an if statement with an if statement? if variable ~= 0 then Code here end if |
Author: | nonamedude [ Tue Jun 02, 2009 9:22 pm ] |
Post subject: | Re: Ignoring IF staments |
yup thats works but i also figured another way lol it just popped into my head declare the value at the beggining quantity (1):=0 quantity (2):=0 ty very much btw is there a way to delete this post? |
Author: | Diablo117 [ Tue Jun 02, 2009 9:24 pm ] |
Post subject: | Re: Ignoring IF staments |
You could lock it if you were admin, but thats more work then it's worth. It will just die by itsself until a young necromancer comes along and raises it from the dead. Just say that your problem was solved then it should be fine. |
Author: | avakann [ Thu Jun 04, 2009 12:37 pm ] |
Post subject: | Re: Ignoring IF staments |
my programme is ignoring the if statement and I don't want it to ignore it |