company logo

Return operand

The return operand causes to leave the expression immediately. When passing an operand to RETURN, the value of the passed operand is returned. Otherwise, the value provided by the last operation (statement) executed will be returned. The returned value will be converted to the data type defined for the return value of the expression. When no return value type has been defined for the expression (VOID), no value is returned.

Definition: 

return_op := _return [operand] ';'