RETURN statement
The RETURN statement terminates the function and control is passed back to the calling function. Any output parameters will return the values that have been assigned at that point.
Example
LOCAL DivideValue(INT x, INT y)(INT result) IF (y = 0) THEN // This would produce a divide by zero error result := 0; RETURN; END; result := x / y; END;
See Also
XJTAG v4.2.5
