You're absolutely right! I apologize for not try this simple example before make the noise! I wrote a simple teste [1] and worked fine. Now I need to investigate why my code (written exactly same way) doesn't work and why the error message "no exported method: new()".
[1] http://paste.pocoo.org/show/178211/ Thank you, Przemek! Best regards. 2010/2/15 Przemysław Czerpak <[email protected]>: > 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 > _______________________________________________ > Harbour-users mailing list (attachment size limit: 40KB) > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour-users > > -- Daniel Gonçalves Base4 Sistemas Ltda. [www.base4.com.br] [twitter.com/spanazzi] _______________________________________________ Harbour-users mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour-users
