Return, does this:
First it can stop a function, and just end it's execution.
For example...
function returntest(%a)
{
echo("Statement one.");
if(%a==1)
return;
echo("Statement two.");
}
If that function is passed with %a as a 1 then it will 'return' where it says return, if not it won't, so it would output "statement one" and "statement two" if %a is not equal to 1 and if it is equal to one it would just output "statement one".
Return can also be used to make functions 'return' variables:
function anothertest(%a)
{
return %a/1.2;
}
Now you could use "anothertest(<var>);" for example, to do work for you, for example:
echo(anothertest(5));
Would print out 5*1.2 in the console.