Topic complex |
CGI functions |
Function |
cgiwritehtml() |
Short |
Writes a html formated string to the standard output |
Syntax |
CGIWRITEHTML(S : STRING) : INTEGER |
Parameter |
S : any string |
Return |
0 : all right
else : error code |
See also: |
|
Description |
Outputs a html formated string to the standard output. All special chars are changed according to the html code table.
Example:
->
It is better to use this funtion than the combination CGIWRITE(TOHTML(S)) when working with longer strings because TOHTML can lead to a transgression of the maximum length of strings (255 chars).
If the CGI output buffering is active the output happens only, when the buffer is full or the programm is terminated.
|