|
You're half-right... the purpose of INVITE is to allow the user to type input from the screen prior to you actually doing a READ from it. This is useful for applications where your program may be outputting to several different terminals at once, and needs to get input only from the FIRST one to press ENTER. Or you could use INVITE to put a screen up that continually updates, while monitoring for F3 to be pressed to stop it... The point is, INVITE allows input from the screen, which is one step more than just re-displaying it. This can cause complications if that's not what the programmer is intending. The FRCDTA keyword allows the screen to be displayed immediately upon a WRITE to the screen. With FRCDTA the keyboard remains locked until you do an actual READ from the screen -- this way, if you didn't WANT to allow input, you don't :) Hope this helps... On Tue, 15 May 2001, Dan Rasch wrote: > > To write a record but not require the user to press > the ENTER key, the DDS keyword INVITE allows a screen > to redisplay without using the EXFMT opcode. > The WRITE opcode is used instead. > > > Dan Rasch - because if the human species concentrated on the really > important things in life, there would be a shortage of fishing poles! > > > On Tue, 15 May 2001, Falconberry, Ron G. wrote: > > > Is there a way to display a window in an interactive job where the window > > data is automatically updated without the user having to press any keys? > > > > We have converted a submitted RPGLE program to run interactively. To > > indicate to the user that the program is functioning and not just locked up, > > I wanted to display a popup window which automatically displays some data > > from the transaction being currently processed. When the program ends, the > > window also closes and the previous screen is redisplayed. Unfortunately, > > everything I have tried either forces the user to press Enter before the > > program continues or the program runs to completion without any window being > > displayed at all. > > > > Is there a way to do this using a window - or even a regular screen - or am > > I running down a dead-end street? I am open to alternative ideas. > > > > Ron Falconberry > > pgrgf@mail.directins.com > > (615) 360-4527 > > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.