| mindheavy (17) | |||
|
I have a function that will return an integer. I set the integer at the beginning to 0 and at the end, an if statement sets it to 1 if the function determines a problem. How could I write a bit of code that will run this function if the function returns 0, and if the function does not return 0, move on to the else statement? Is this correct?
| |||
|
|
|||
| Framework (3237) | |
|
That seems to be fine. Wazzak | |
|
|
|