Lorenzo Fiorini wrote:
On Fri, Jun 19, 2009 at 4:53 PM, <ap...@users.sourceforge.net> wrote
Revision: 11434
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11434&view=rev
Author: april
Date: 2009-06-19 14:53:40 +0000 (Fri, 19 Jun 2009)
Log Message:
-----------
* 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?
It was a judgement call; methods indicating an end of an object
(Finalize(), Terminate(), Destruct()) were changed to "return NIL"; all
others were "return Self"
April
--
All men are animals, some just make better pets.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour