>> * 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. I don't understand why methods like close() need return Self. Regards, Toninho. __________________________________________________ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour