× 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.



Hi Booth

Yes, it does. The AID byte holds a value of x'F1' if the Enter key is pressed.
You can also use the VLDCMDKEY(nn) keyword in the DDS to determine if the Enter key was pressed or not. In your program the indicator will be true if an available command key was pressed and false if not, so testing for NOT *INnn is the same as testing for Enter.

Of course, using named indicators would make that more readable...

Jonathan



Booth Martin wrote:
Does this tell us if the Enter key was pressed? (If it does, then this is the only way to know that the Enter key was pressed?)

BirgittaHauser wrote:
Hi,

To be honnest, I never used *INK-Indicators, nor did I use numbered
indicators for function keys.
Even 20 years ago we used position 369 in the file data structure and
checked the hex value of the function key pressed.
(The file data structure and hex values were included from a copy member).
In this way it was quite easy to work with function keys.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im
Auftrag von Doug Palme
Gesendet: Tuesday, May 13, 2008 22:40
An: RPG Midrange L
Betreff: Quick question on indicators - more philosophical than anything
else


Is anyone still using the old indicator style of INKC, INKA, etc.?

Is there any reason why this should even be used today?
I know some are advocating using no indicators at all in a program....but is that not one of the strengths of RPG?

This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG. Version: 8.0.100 / Virus Database: 269.23.16/1430 - Release Date: 5/13/2008 7:31 AM




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.