This.cHtml=This.cHtml+This.RecordHook()This code gets executed even if there is no code in RecordHook(). I would prefer to have the RecordHook() method, when it contains some code to have this as the last line of its code:
RETURN lcHtml
However, if there is no code, this will fail.This.RecordHook() * The HTML code is now appended to This.cHtmland from the RecordHook() method in its last line:
This.cHtml=This.cHtml+lcHtmlBut, as I would prefer to have the RecordHook() method to return the HTML, would it there be a way to determine if some code is present in RecordHook() so I could have something like this:
IF This.RecordHook.CodeIsPresent This.cHtml=This.cHtml+This.RecordHook() ENDIF