xHarbour Reference Documentation > Statement Reference |
Declares the symbolic name of a class method.
CLASSMETHOD <MethodName> [ (<params,...>] ) ] ; [ INLINE <expression> ]
The CLASSMETHOD statement exists for compatibility reasons. It is not different from the METHOD statement since the self object visible in methods is the same for METHOD and CLASSMETHOD.
There is one exception: :initClass() declared as CLASSMETHOD receives the parameters passed to the class function (see HbObject()).
See also: | ACCESS, ASSIGN, CLASS, DATA, DELEGATE, EXPORTED:, HIDDEN:, INLINE METHOD, MESSAGE, METHOD (declaration), METHOD (implementation), PROTECTED: |
Category: | Class declaration , Declaration , xHarbour extensions |
Header: | hbclass.ch |
Source: | vm\classes.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com