You simply change the return type of your function from "void" to the type you want to return, e.g. "bool" for a true/false value.
Then you can use one or more "return" lines inside the function.
Cheers,
_
You simply change the return type of your function from "void" to the type you want to return, e.g. "bool" for a true/false value.
Then you can use one or more "return" lines inside the function.
Cheers,
_
Bookmarks