The <tt>ENDMETHOD</tt> Statement



next up previous contents
Next: The DEFPRIVATE Statement Up: C.3 The VOOPS Syntax Previous: The DEFMETHOD Statement

The ENDMETHOD Statement

 

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.



Martin Stiftinger
Tue Nov 29 19:41:50 MET 1994