| GOLF(2gg) | Development | GOLF(2gg) |
NAME¶
p-web - (output)
PURPOSE¶
Outputs a web-encoded string.
SYNTAX¶
p-web <string> [ length <length> ] [ new-line ]
DESCRIPTION¶
p-web is the same as p-out, except that the output is web-encoded (or HTML-encoded). This means such output is suited for use in web pages - the text will be displayed verbatim without HTML-markup being interpreted.
If "length" clause is used, then only <length> leading bytes of <string> are web-encoded and then output.
If "new-line" clause is used, then a new line ("\n") is output after encoded <string>.
EXAMPLES¶
Display "We use <hr/> markup" text, without "<hr/>" being displayed as a horizontal line:
p-web "We use <hr/> markup"
See p-out for more examples.
SEE ALSO¶
Output
finish-output flush-output output-statement pf-out pf-url pf-web p-num p-out p-path p-source-file p-source-line p-url p-web See all documentation
| $VERSION | $DATE |