SUBROUTINE EDITORIAL
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
CALL RW_START_HTML_PAGE("Editorial Example", "", "", "", "")
HTML = ""
TEXT = "Overview"
CALL RWS_HEADING(TEXT, 1, 'style="color: purple"')
HTML = HTML : TEXT
TEXT = "Reality is a software environment that supports Reality " : ...
"applications on UNIX and Windows (NT, 2000 and XP) systems. The " : ...
"applications support environment supplied by Reality is a Relational " : ...
"Database Management System (RDBMS), supporting multiple databases on " : ...
"a single host platform, a range of powerful programs for database " : ...
"management and inquiry, and a set of programs for operating system " : ...
"resources."
OLD = "programs"
NEW = "utilities"
aClass = ""
aClass<3> = OCONV(DATE(), "DS") : "T" : OCONV(TIME(), "MTS") : "Z"
ED_OLD = OLD
CALL RWS_ED_DELETE(ED_OLD, "", aClass)
CALL RWS_ED_INSERT(NEW, "", aClass)
TEXT = CHANGE(TEXT, OLD, ED_OLD : NEW)
CALL RWS_PARA(TEXT, "", "")
HTML = HTML : TEXT
TEXT = "Multiple Databases"
CALL RWS_HEADING(TEXT, 2, "")
HTML = HTML : TEXT
TEXT = "Any number of databases can be created and maintained on the host. " : ...
"The only restriction is disk space availability. This allows " : ...
"independent use of different databases by different departments or " : ...
"groups using the system. Each separate database comprises a collection " : ...
"of data organised in relational data structures enabling easy access " : ...
"to, and manipulation of data."
OLD = "independent "
NEW = "and secure "
aClass = ""
aClass<3> = OCONV(DATE(), "DS") : "T" : OCONV(TIME(), "MTS") : "Z"
CALL RWS_ED_INSERT(NEW, "", aClass)
TEXT = CHANGE(TEXT, OLD, OLD : NEW)
OLD = "separate "
ED_OLD = OLD
aClass = ""
aClass<3> = OCONV(DATE(), "DS") : "T" : OCONV(TIME(), "MTS") : "Z"
CALL RWS_ED_DELETE(ED_OLD, "", aClass)
TEXT = CHANGE(TEXT, OLD, ED_OLD)
CALL RWS_PARA(TEXT, "", "")
HTML = HTML : TEXT
CALL RW_PUT(HTML)
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>Editorial Example</TITLE>
</HEAD>
<BODY>
<H1 style="color: purple">
Overview
</H1>
<P>
Reality is a software environment that supports Reality applications on UNIX
and Windows (NT, 2000 and XP) systems. The applications support environment
supplied by Reality is a Relational Database Management System (RDBMS),
supporting multiple databases on a single host platform, a range of powerful
<DEL DATETIME="2002-10-14T16:06:00Z">programs</DEL>
<INS DATETIME="2002-10-14T16:06:00Z">utilities</INS>
for database management and inquiry, and a set of
<DEL DATETIME="2002-10-14T16:06:00Z">programs</DEL>
<INS DATETIME="2002-10-14T16:06:00Z">utilities</INS>
for operating system resources.
</P>
<H2>
Multiple Databases
</H2>
<P>
Any number of databases can be created and maintained on the host. The only
restriction is disk space availability. This allows independent
<INS DATETIME="2002-10-14T16:06:00Z">and secure </INS>
use of different databases by different departments or groups using the system.
Each
<DEL DATETIME="2002-10-14T16:06:00Z">separate </DEL>
database comprises a collection of data organised in relational data structures
enabling easy access to, and manipulation of data.
</P>
</BODY>
</HTML>