return
The return command is used to return a value when used a script subcommand is used.



"then(return, value)"


Argument Function
value The value being sent back to be used in place of the subcommand.



And example of the return command used in a script is as follows...




The following script runs a math command based on some arguments and returns the value.


if(always)
{
then(initvar,ret)
then(changevar,ret,=,arg(1))
then(changevar,ret,*,arg(2))
then(changevar,ret,-.arg(3))
then(return,var(ret))
}