[Harbour-users] Class method support in 2.1.0dev
Przemysław Czerpak
druzus at acn.waw.pl
Mon Feb 15 06:37:59 EST 2010
On Mon, 15 Feb 2010, Daniel Gonçalves wrote:
> I came from Clipper/Class(y) and Java tecnologies. I code for example:
>
> CREATE CLASS Foo INHERIT Bar, Hat
> EXPORT:
> METHOD init CONSTRUCTOR
> ...
> METHOD init( x, y, z )
> ::Bar:init( x, y ) // initialize the super class Bar
> ::Hat:init() // initialize the super class Hat
> ...
> This doesn't work anymore. The run-time says that there's no exported
> method new() in the code that uses class Foo, for example. I've a lot
> (i mean it) of legacy code that will not work. Is there any solution
> or a reference?
Such code works without any problems.
If you need help then please create self contain example which
illustrates the problem.
best regards,
Przemek
More information about the Harbour-users
mailing list