Return

Syntax:

return <expression>;

Example:

function test():String{
  return p.lastName;
}

In the context of a entity function this returns the expression as the result of that function. In the context of an action or page init definition, it redirects the user to the page specified in the expression.

Example:

action done(){ return root(); }
Return