** ** wwresponsestring.fxp ** SET PROCEDURE TO wwResponse ADDITIVE ENDPROC * DEFINE CLASS wwResponseString AS wwResponse coUtput = "" PROTECTED cfIlename cfIlename = "" PROTECTED ldUmptofile ldUmptofile = .F. PROTECTED chTmlfilename chTmlfilename = "" PROTECTED ohTmlfile ohTmlfile = .NULL. nbUffersize = 10000 * FUNCTION getoutput LPARAMETER llNoclear LOCAL lcFile, lcOutput IF thIs.ldUmptofile thIs.ohTmlfile.deStroy() thIs.ohTmlfile = .NULL. thIs.ldUmptofile = .F. lcOutput = fiLe2var(thIs.chTmlfilename) ERASE (thIs.chTmlfilename) IF llNoclear thIs.coUtput = lcOutput ELSE thIs.coUtput = "" ENDIF RETURN lcOutput ENDIF IF llNoclear RETURN thIs.coUtput ENDIF lcOutput = thIs.coUtput thIs.coUtput = "" RETURN lcOutput ENDFUNC * FUNCTION getoutputnoclear RETURN thIs.geToutput(.T.) ENDFUNC * FUNCTION WRITE LPARAMETER tcText, tlNooutput IF tlNooutput .OR. thIs.lnOoutput RETURN tcText ENDIF IF thIs.ldUmptofile thIs.ohTmlfile.faStwrite(@tcText) ELSE IF LEN(thIs.coUtput)