* (all files)
* stripped svn header
* minor cleanups
; use following command to find out the history of files:
git log
git log --follow
git blame
git annotate
39 lines
490 B
Plaintext
39 lines
490 B
Plaintext
|
|
#include "hbclass.ch"
|
|
|
|
PROCEDURE Main()
|
|
|
|
LOCAL oObject, oBase
|
|
|
|
oObject := TAnyClass():New()
|
|
oBase := TClassBase():New()
|
|
|
|
HB_SYMBOL_UNUSED( oObject )
|
|
HB_SYMBOL_UNUSED( oBase )
|
|
|
|
RETURN
|
|
|
|
CREATE CLASS TClassBase
|
|
|
|
METHOD New()
|
|
METHOD Test() INLINE Alert( "Test" )
|
|
|
|
ENDCLASS
|
|
|
|
METHOD New() CLASS TClassBase
|
|
|
|
RETURN Self
|
|
|
|
CREATE CLASS TAnyClass FROM TClassBase
|
|
|
|
METHOD New()
|
|
|
|
ENDCLASS
|
|
|
|
METHOD New() CLASS TAnyClass
|
|
|
|
::super:New()
|
|
::super:Test()
|
|
|
|
RETURN Self
|