03.05.2010, 15:31
I have two functions being called and the one below isn't actually called, so I set up some prints in the first one and found where it stops:
stops here and carries out the correct if statement
if(condition) /*variable and array assignations*/
else if(condition) /*variable and array assignations*/
else if(condition) /*variable and array assignations*/
else if(condition) /*variable and array assignations*/
else if(condition) /*variable and array assignations*/
not reaching here
The correct 'if' statement is executed and the arrays and variables are assigned but after those statements the next print doesn't show up.
This is something I haven't come across before so I just need to find out what it does, I was thinking It wasn't working because return was on the 'if's but it's not.
Thanks for any help
stops here and carries out the correct if statement
if(condition) /*variable and array assignations*/
else if(condition) /*variable and array assignations*/
else if(condition) /*variable and array assignations*/
else if(condition) /*variable and array assignations*/
else if(condition) /*variable and array assignations*/
not reaching here
The correct 'if' statement is executed and the arrays and variables are assigned but after those statements the next print doesn't show up.
This is something I haven't come across before so I just need to find out what it does, I was thinking It wasn't working because return was on the 'if's but it's not.
Thanks for any help