* (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
32 lines
430 B
Plaintext
32 lines
430 B
Plaintext
|
|
#include "hbclass.ch"
|
|
|
|
PROCEDURE Main()
|
|
|
|
LOCAL o := Three():New()
|
|
|
|
o:CheckIt()
|
|
|
|
RETURN
|
|
|
|
CREATE CLASS One
|
|
|
|
METHOD New() INLINE Self
|
|
METHOD Test() INLINE QOut( "One" )
|
|
METHOD CheckIt() INLINE ::Test()
|
|
|
|
ENDCLASS
|
|
|
|
CREATE CLASS Two FROM One
|
|
|
|
METHOD Test() INLINE ::super:Test()
|
|
METHOD CheckIt() INLINE ::super:CheckIt()
|
|
|
|
ENDCLASS
|
|
|
|
CREATE CLASS Three FROM Two
|
|
|
|
METHOD Test() INLINE QOut( "Three" )
|
|
|
|
ENDCLASS
|