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)
![]() |
Example |
Outputs the contents of a string directly to the RealWeb buffer specified in the Control parameter.
RW_PUT_EX(String, Control)
String String to be output to the specified buffer.
Control A
dynamic array
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.
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.