RW_SET_BUF


Purpose

Sets the contents of the specified RealWeb buffer.

Syntax

RW_SET_BUF(String, BufferID)

Parameters

String The string containing the text to be copied to the specified buffer.

BufferID Specifies the required RealWeb output buffer as follows:

RWD_NORMAL or an empty string
Sets RWC.OUTBUF.

RWD_HEAD
Sets RWC.HEADBUF.

RWD_JAVASCRIPT
Sets RWC.JSBUF.

RWD_ERROR
Sets RWC.ERRORBUF.