SUBROUTINE TRANSS
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
CALL RW_START_HTML_PAGE("TRANSS", "", "", "", "")
ITEM = ""
OPEN "SUBROUTINE.EXAMPLES" TO F ELSE STOP
READ ITEM FROM F,"HELLOWORLD" ELSE STOP
CLOSE F
CALL RWS_TRANS(ITEM, RWD_BLIST)
CALL RWS_FIXED(ITEM, "")
ITEM = CHANGE(ITEM, "<br>", "")
ITEM = CHANGE(ITEM, "<BR>", "")
CALL RW_PUT(ITEM)
CALL RW_END_PAGE
RETURN
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="Reality">
<TITLE>TRANSS</TITLE>
</HEAD>
<BODY>
<PRE>
SUBROUTINE HELLOWORLD
* Display the text 'Hello World'
* Include the RealWeb definitions
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
* Start the HTML page.
* Display the text 'Hello World' in the browser's title bar.
CALL <code style="color: red">RW_START_HTML_PAGE</code>("Hello World", "", "", "", "")
* Insert a paragraph containing the required text.
CALL <code style="color: red">RW_START_PARA</code>("", "")
CALL <code style="color: red">RW_PUT</code>("Hello World")
CALL <code style="color: red">RW_END_PARA</code>
* Complete the page.
CALL <code style="color: red">RW_END_PAGE</code>
RETURN
</PRE>
</BODY>
</HTML>
NEC welcomes your feedback on our documentation.
If you have any comments about the current Reality Help, or want something to be added in a future revision, please contact your NEC Helpdesk.
If your comment relates to this particular Help topic, remember to include the following information:
Product:
|
RealityVersion 15.5
|
Help revision:
|
Revision 0
|
Help topic:
|
RWS_TRANS Example (RealWeb)
|
File name:
|
TRANSS.htm
|