× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Or let me google that for you.

http://www.lmgtfy.com/?q=site%3Apublib.boulder.ibm.com+QWSSETWS

http://tinyurl.com/389xmqx


--

Michael Schutte
Admin Professional



Announcing Bob Evans Bob-B-Q® Road Trip! For a limited time, America's best
Bob-B-Q® tastes are all at Bob Evans! For more information, visit
www.bobevans.com/menu/seasonal.aspx



rpg400-l-bounces@xxxxxxxxxxxx wrote on 06/08/2010 04:24:45 PM:

Check GOOGLE for site:publib.boulder.ibm.com QWSSETWS

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Why is the alphabet in that order? Is it because of that song?

Is there a way to ignore keyboard input or clear the input buffer for a
display file? I am writing a window to the display with a makeshift
progress bar (activity indicator) using a loop, in the event of a file
lock (during backup). My code works fine, but I've noticed that if I
hit
the Enter key, a subsequent EXFMT operation will process the key
stroke.
I'd like to inhibit this, if possible, especially because an end user
could potentially hit the Enter key multiple times during a wait.
Here's
the relevant code:

open(e) EXTTNTBL;
dow %error();
if %subst(dspStsBar: 34: 1) = '.';
dspStsBar = *blanks;
endif;
dspStsBar = %trimr(dspStsBar) + ' .';
write WNDW03;
sleep(DELAY_SECS);
open(e) EXTTNTBL;
enddo;
write EXTTNFMT;
close EXTTNTBL;
. . .
exfmt SCRN01; <== Processes a previous ENTER key stroke
during the loop above

I suppose I could check to see if the Enter key has been pressed and
then
find a way to process it before performing a read operation, but I'd
rather just ignore it or clear the input buffer. I did some searching
in
the DDS manual, online and in the archive, but didn't come up with
anything. If anyone has a suggestion or a better way of accomplishing
this, I would appreciate the advice. Thanks.

Blake



--
This is the RPG programming on the IBM i / System i (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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.