If (count>=0) {
What is the starting value of count? If count is set to 0 then the above condition is always true.
If (count>=0) {
What is the starting value of count? If count is set to 0 then the above condition is always true.
You agree to website policy and terms of use
This code checking if there is the order I'm asking about, if it is than some variable change, and if there is not any orders than it should send the order.
The problem is that if program checks that first order exists than it change variable count>0. So the next order couldn't be checked.
So I'm thinking about:
If (count>=0) {
Should be it correct?