Hi all,
I have a function that evaluates to true or false, and seems to work great, but I'm having a problem using it with an if statement.
How can I write an if/else statement that evaluates whether the function returned a true or false value?
It seems like this should be really straightforward... Am I having trouble finding an answer because it's such a specific situation?
Thanks for your help.
When you put MyFunction in an if, do you include the data type in the (arguments), or just the variable name?
When you call a function you shall pass arguments to it if it has parameters.