home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
rgiserv.zip
/
rgi_t3.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-05-16
|
1KB
|
32 lines
/* Test the RGIOut Function */
Call RGIUtils '-ct text/html','No'
If rgi_retc=0 Then Do i=1 to rgi_hdr.0
Say rgi_hdr.i
End
Say ''
Say '<form action=cgi-bin/rgi_t4.cmd method=post>'
Say '<html><head><title>' /* Introduce the document */
Say 'RGI Installation Test' /* as part of the RGI */
Say '</head></title>' /* Installation Test */
Say '<body>'
Say '<em>This screen is brought to you by RGI_T3.CMD</em>'
Say 'This document tests the RGIOut function.'
Call RGIParse '-k'
time=time()
Say '<p>'
Say 'It issues the'
Say '<p><ce>'
Say "<tt>Call RGIOut Hello <&rgi.fname>! It is <&time> now in <&rgi.cname>.','No'"
Say '</tt></ce>'
Say '<p>statement which generates:'
Call RGIOut 'Hello <&rgi.fname>! It is <&time> now in <&rgi.cname>','No'
If rgi_retc=0 Then Do i=1 to rgi_out.0
Say rgi_out.i
End
Say '<p>Similarly we can resolve a file with an unlimited number of HTML text lines.'
Say 'This may be useful when you have, for example, multi-lingual documents.'
Say '<p><p>Press the'
Say '<input type=submit value=Continue> button now.'
Say '</body>'
Say '</html>'