Files
harbour-core/harbour/tests/clasinh.prg
1999-11-03 06:37:20 +00:00

24 lines
393 B
Plaintext

#include "hbclass.ch"
function main()
local oObject, oBase
oObject := TAnyClass():New()
oBase := TClassBase():New()
return nil
class TClassBase
method New()
method Test() INLINE Alert( "Test" )
endclass
method New() class TClassBase
return Self
class TAnyClass from TClassBase
method New()
endclass
method New() class TAnyClass
super:New()
super:Test()
return Self