Hi, I am new to the list and have a question.

I have re-written a short script (cgiform.r) that writes a HTML to my screen, I wish to save that HTML into a .txt file so that I can further use it.  The script is below, How can I write this to a .txt file.

I can expand on the script form after I understand this.  Thanks.. /john

**************

cgi: make object! decode-cgi system/options/cgi/query-string


print  [
    <html><body><CENTER><h2>"CGI Results:"</h2></CENTER><H3><BLOCKQUOTE>
    "Name:"  <B> cgi/name </B>
    "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SSN:"   <B> cgi/ssn </B><P>
    "" <B> cgi/address </B><BR>
    ""   <B> cgi/city </B>
    "&nbsp;&nbsp;&nbsp;"   <B> cgi/st </B>
    "&nbsp;&nbsp;&nbsp;"   <B> cgi/zip </B><BR>
    "" <B> cgi/phone </B>   
    "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" <B> cgi/email </B><P>
<P>
    </H3></BLOCKQUOTE>
    </body></html>
]

Reply via email to