Write

Description

Writes an output string to a document.

Applies to

PSDocumentClass object

Syntax

psDocument.Write( string )

Argument

Description

string

The output string

Returns

None

Usage

At runtime, Write has the following behavior:

Application server

Runtime behavior

ASP

Calls the Write method of the Response object

JSP

Calls the print method on javax.servlet.jsp.JspWriter

Examples

Example 1

The following example writes the string “Hello World!” to the current document:

psDocument.Write("Hello World!");