stevenmw
03-01-2012, 02:44 AM
How can I write a function, and then use an if statement to do something if the function returns true?
I basically want to write a function that consists of at if else statement. I want the if to return false and the else to return true. Then I want to write an if else statement that says something like..
If the function returns true then do this, else do this.
Am I making any sense?
I basically want to write a function that consists of at if else statement. I want the if to return false and the else to return true. Then I want to write an if else statement that says something like..
If the function returns true then do this, else do this.
Am I making any sense?