Sign in Join
FPDoc Onlineexperiment

TEZcgi.PutLine procedure

Member of TEZcgipublicIn unit EzCgi

Send a line of output to the web-client.

Declaration

pascal
procedure PutLine(const sOut: string; escape: Boolean=False)

Arguments

sOut

Text to be sent to the client.

escape

Description

PutLine writes a line of text ( sOut) to the web client (currently, to standard output). It should be called only after WriteContent was called with a content type of text. The sent text is not processed in any way, i.e. no HTML entities or so are inserted instead of special HTML characters. This should be done by the user.

Errors

No check is performed whether the content type is right.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.