HTTPOut (HTTP Output)

The HTTPOut instruction is used to define a line of HTML code to be used in a datalogger generated HTML file.

Syntax

WebPageBegin ("WebPageName", WebPageCmd )

HTTPOut ( "<p>html string to output" + variable + "additional string to output</p>" )

HTTPOut ( "<p>html string to output" + variable + "additional string to output</p>" )

WebPageEnd

Remarks

HTTPOut instructions must be enclosed in a WebPageBegin/WebPageEnd declaration. HTML tags and text strings must be enclosed in quotes. If a quote is required in the HTML code, use CHR(34), or it is interpreted by the editor as the beginning or ending of a string. If a single quote is required use CHR(39), since single quotes are used in the editor to denote comments. Variables are referenced by name, and if added within strings are appended to the text using the + sign (for example, "some text string" + variablename + "more text"). If a web pages references a file stored on the datalogger, use /path/ to denote the datalogger drive on which the file is stored (i.e., /CPU/file.jpg).