External Interfaces > RealWeb > RealWeb API > Text and HTML Insertion > RW_PUT_EX

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

RW_PUT_EX (RealWeb) (rw_put_ex.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RW_PUT_EX


Purpose

Outputs the contents of a string directly to the RealWeb buffer specified in the Control parameter.

Syntax

RW_PUT_EX(String, Control)

Parameters

String String to be output to the specified buffer.

Control A dynamic arrayClosed where element 1 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

If element 1 of the Control array is set to RWD_JAVASCRIPT, element 2 can be set to the name of a JavaScript function. If this is done, RW_PUT_EX checks whether the function specified in element 2 is already present on the current HTML page and only appends code if it is not already present.

Comments

If element 1 of the Control array is set to RWD_JAVASCRIPT, the contents of String are placed in the header of the HTML page, enclosed in <SCRIPT> tags.

RealityV15.1 (MoTW) Revision 7Comment on this topic