|
> Can somebody explain to me the difference between goto - tag in RPG and the href - tag in Web? I think a closer relationship to the goto would be outputting a JavaScript redirect smack dab in the middle of some code to redirect the user/program. An hyper link would be more like a function key in my mind. I don't know if using JavaScript redirects is a bad idea, all I know is that they work slicker than snot if used right. If inputField = "YES"; print("<SCRIPT LANGUAGE='JavaScript'>window.location='$loc'</SCRIPT>"); Else; //Continue processing. . . EndIf; Just a thought, Aaron Bartell -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Raul A Jager Sent: Monday, February 16, 2004 6:41 AM To: RPG programming on the AS400 / iSeries Subject: Re: Free Format and Screen Processing Most of the RPG free format programs I'm writing put the display in a Web page instead of a wrkstn. Since the Web is "stateless" I code one screen per program, and all the logic to move forward, backwards, to begining, discard, etc. is beautifully handled in Web links. I can not tell the difference between a Go To and a Web link, to me there are exactly the same. But, I'm sure none of the people that are against the Go To in a program will complain about the use of links in a Web page. Raul Can somebody explain to me the difference between goto - tag in RPG and the href - tag in Web? Bill wrote: Bill wrote: Has anyone developed a slick way of moving forward and backward amongst screen displays without using Goto's? Thank you all for your ideas, I've now got a good idea as to how I will implement this. Bill _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.