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
RWS_TRANS (RealWeb) (rws_trans.htm)
![]() |
Example |
Processes the contents of a string to convert reserved HTML characters into their escape sequences. The Control parameter can be used to specify further translations once this conversion is complete.
The following escape sequences are used for characters that have special meanings in HTML:
Character | Converted to |
---|---|
Attribute marks | <BR> |
& | & |
< | < |
> | > |
" | " |
RWS_TRANS(String, Control)
String String to be processed.
Control Specifies further translations as follows:
RWD_DEFAULT
No further translations.
RWD_BLIST
Colour-codes the names of RealWeb
API subroutines, public and private
RealWeb definitions and RealWeb common variables.
RWD_XML
Further translations for
XML. Converts attribute marks, value marks and
subvalue marks to ^, ] and \ respectively.