|
I'm not quite understanding your question. You want an example on how to code text in an RPG program? As I understand it, e-RPG is just RPG that goes up to the web. I can think of many ways to code this, the best way probably creatting a text physical file and putting in the text there then reading that file in your RPG program and "writing" it to the socket, or copying it to a the HTTP server, or some such. A simple read/write loop would do it. I think if I was going to do this, I would open the text file as User Open, override the member I wanted to display, then open the file, and do a while not EOF loop, reading and writing. Then close the file. Or is there something else you're looking for? Regards, Jim Langston Keith Flournoy wrote: > > > I have just purchased Brad Stone's book on e-RPG and I am looking to write a >portion of code which will allow me to use a text box as an input field from a >web program to an e-RPG program. There are several examples of how to code in >HTML but I am looking for an example of how to code the following text in >e-RPG: > > <HTML> > <HEAD> > <TITLE>Enter User Information > </HEAD> > Please Enter Your Name and your E-Mail address. <BR> > Click <i>Done</i> when you are finished. <BR> > <FORM action="cgi-bin/CGIPGM" method="post"> > Name: <input type="text" name="EMAIL" size=50><BR> > <input type="submit" value="Done"> > </FORM> > </BODY> > </HTML> > > Keith Flournoy > MKS Professional Services > 800 633-1235 > www.mks.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.