* /harbour/* -> /*
* moved whole Harbour source tree one level up to
avoid single 'harbour' top dir
35 lines
445 B
Plaintext
35 lines
445 B
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
#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
|