toni...@fwi wrote:
* contrib\xhb\hblog.prg
* PROCEDURE Open() CLASS HB_Logger -> METHOD returning Self
* PROCEDURE Close() CLASS HB_Logger -> METHOD returning Self
* PROCEDURE Log( cMessage, nPriority ) CLASS HB_Logger -> METHOD returning
Self
* PROCEDURE Log( nStyle, cMessage, cName, nPriority ) CLASS HB_LogChannel ->
METHOD returning Self
* PROCEDURE Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogConsole
-> METHOD returning Self
* PROCEDURE Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogDebug ->
METHOD returning Self
Is RETURN SELF correct? Shouldn't it be RETURN NIL?
+1...
Some years ago:
2003-07-07 11:12 UTC-0300 Antonio Carlos Pantaglione
* include/hbclass.ch
+ Added support for PROCEDURE <ProcName> CLASS <ClassName> syntax.
I changed hbclass to support procedures for optimize pourpose. IMO
only New() method need return Self. There are others exceptions like
Redefine in FWH that need return Self too.
Close() returning self was an oversight of mine.
I'll revert my changes and ensure that the hbextern code excludes such
procedures.
April
--
Some people are alive only because it is illegal to shoot them
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour