SUBROUTINE ULIST2
     INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
CALL RW_START_HTML_PAGE("School Rules", "", "", "", "")
     EQU AM TO CHAR(254)
     EQU VM TO CHAR(253)
CALL RW_PUT("Every pupil is expected to")
CALL RW_NEWLINES(2)
     UL_CLASS='style="color: green; font-style: italic"'
     VALUE_LIST="Be punctual":AM:"Wear the correct uniform":AM:"Hand in homework on time"
CALL RW_MAKE_ULIST(VALUE_LIST,UL_CLASS)
CALL RW_NEWLINES(4)
CALL RW_PUT("Pupils MUST NOT")
CALL RW_NEWLINES(2)
     UL_CLASS= 'type="circle"'
     UL_CLASS<-1>= 'style="color: red"'
     VALUE_LIST="Run in the corridors":AM:"Eat sweets in class":AM:"Leave the school grounds at lunchtime"
CALL RWA_MAKE_ULIST(LIST,VALUE_LIST,UL_CLASS)
CALL RW_PUT(LIST)
CALL RW_END_PAGE
RETURN
            
             HTML
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>School Rules</TITLE>
</HEAD>
<BODY>
Every pupil is expected to
<BR>
<BR>
<UL style="color: green; font-style: italic">
<LI>Be punctual
<LI>Wear the correct uniform
<LI>Hand in homework on time
</UL>
<BR>
<BR>
<BR>
<BR>
Pupils MUST NOT
<BR>
<BR>
<UL type="circle" style="color: red">
<LI>Run in the corridors
<LI>Eat sweets in class
<LI>Leave the school grounds at lunchtime
</UL>
</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.4
                                 | 
                        
                            | Help revision: | Revision 0
                                 | 
                        
                            | Help topic: | MAKEULIST Example (RealWeb)
                                 | 
                        
                            | File name: | MAKEULIST.htm
                                 |