return

Category: Script
Since engine version: 4.6.5.0 CP

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( dividend, divisor )
{
	return( dividend / divisor );
}
				
Divides a by b and returns the result.
jwk, April 2002