RW_INSERT_ITEM


Purpose

Opens a Reality file and reads the specified item. Converts attribute marks to linefeeds, then outputs to the RealWeb buffer specified in the Control parameter.

 Syntax

RW_INSERT_ITEM(Filename, Itemid, Control)

Parameters

Filename Name of the Reality file to be opened.

Itemid Item id of the item to be read.

Control Specifies the RealWeb output buffer as follows:

RWD_NORMAL or an empty string
Output to RWC.OUTBUF

RWD_HEAD
Output to RWC.HEADBUF

RWD_JAVASCRIPT
Output to RWC.JSBUF

RWD_ERROR
Output to RWC.ERRORBUF