return
Category:
Script
Since engine version:
5.1 OC
Description
Ends the current function and returns a value to the caller.
Syntax
void
return(
Any
retval);
Parameter
retval:
Return value
Example
private
func
Division(
int
dividend,
int
divisor ) {
return
dividend / divisor; }
Divides a by b and returns the result.
jwk, 2002-04