SUBROUTINE NUMLIST2
* Displays a numbered list using the string functions RWS_LIST_ITEM and RWS_OLIST

* Include the RealWeb definitions
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP

* Start the HTML page
* Display the text 'Oven Timer' in the browser's title bar
CALL RW_START_HTML_PAGE("Oven Timer", "", "", "", "")
CALL RW_PUT("To set the oven timer:")
CALL RW_NEWLINES(2)

* Create the items for the list
LIST=""
BUF="Turn the dial to the left of the clock from MAN to AUTO"
CALL RWS_LIST_ITEM(BUF,"")
LIST=LIST:BUF
BUF="Advance the clock to the required start time and press the START button"
CALL RWS_LIST_ITEM(BUF,"")
LIST=LIST:BUF
BUF="Advance the clock to the required finish time and press the END button"
CALL RWS_LIST_ITEM(BUF,"")
LIST=LIST:BUF
BUF="Set the oven to the required temperature"
CALL RWS_LIST_ITEM(BUF,"")
LIST=LIST:BUF

* Create and display the list
CALL RWS_OLIST(LIST,"")
CALL RW_PUT(LIST)

* Complete the page
CALL RW_END_PAGE
RETURN