<
(ENDMETHOD [return-value])>
The function body following a DEFMETHOD statement must be terminated with an ENDMETHOD statement, thus forming a statement pair enclosing the method implementation code. Only if the method return value is of a void type, the return-value has to be omitted. In this case a VeReturnVoid() call will be generated. When specifying a return value (which should be of the proper return type), a VeReturn() call is generated.