As in the title, this topic is about return. My main question is: how to use return? I read up and it has to be in the same place as break, but the function different. And I don't know what the function of this is.
I know break is to simply break out of a loop. This straight forward to me and thats clear.
I see many things like:
return true -- or false return var1
How can you use this true or false, or even the variable?
I am wondering how this exactly works, and thank you in advance.
Greetz,
Engineer












