• Subject: Re: HOw to monitor for function keys in cl
  • From: email@xxxxxxxxxxxxxxxxxxx (James W Kilgore)
  • Date: Mon, 27 Sep 1999 11:30:08 -0700
  • Organization: Progressive Data Systems, Inc.



Chris Beck wrote:
> 
> how can i monitor of the f3 or f12 keys are pushed in a diaplayfile run 
>through a cl progarm?

Here's a couple of lines of code from one of our programs:
In the DDS, we use an indicator for the function keys

DDS:
                          
0098.00      A                                      CA03(03
'Exit')               

CLP:

0061.00 /*
------------------------------------------------------------------*/
0062.00    CHGVAR     &IN03        '0'    /*
F3=Exit                         */
0063.00                                                                        

0079.00 DSPPRM:  SNDRCVF    DEV(&JOB)
RCDFMT(GLNOLST)                          
0080.00    IF    COND(&IN03 *EQ '1')  THEN(GOTO
ENDPGM)
+---
| 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 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.