Files
harbour-core/tests/inhprob.prg
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (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
2013-03-16 02:11:42 +01:00

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