[Top] [Prev] [Next] [Bottom]
[Contents]
SaPrintHtmlError
Writes an error string to standard out, with the string in between <PRE> and </PRE> tags.
#include "SaRnHtml.h"
void SaPrintHtmlError(char* msg);
Arguments
- msg
- The error string to report.
Return Values
None.
Writes an error string to standard out, with the string in between <PRE> and </PRE> tags. This function is used to report errors to the HTML user. This function can be called before an HTML template is played, during the playing of an HTML template, or without a template.
Caution: Do not use this function in the initial code section of the Main, since Sapphire/Web has not written out the content type marker. The browser would probably interpret the data as plain ASCII.
SaPrintHtmlError("NO DATA FOUND");
/*** written to standard out: <PRE>NO DATA FOUND\n</PRE> ****/
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.