return

Category: Script
Since engine version: 1.0 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