|
Scott, I do see your point, about *INKC being very self explanatory... And almost caused me to rethink my desire to re-map the *ink keys. I guess I'll try it re-mapped for a while and see if help with the keys higher up the alphabet like u,v (I don't have a cheat sheet).... But with Han's help I did get it to work, and this is the following code for any one who care.... Warning: I made an assumption that *INKA-Y is stored sequentially in Memory, and Han's said that would be ok, but he warned that you never know what may happen in the future so you may want to point each redefine individually. 0036.06 d InKa s * inz(%addr(*inka)) 0036.07 d FunctionKey ds Based(InKa) 0036.08 D F1 N Overlay(FunctionKey:1) 0036.09 D F2 N Overlay(FunctionKey:2) 0036.10 D F3 N Overlay(FunctionKey:3) 0036.11 D F4 N Overlay(FunctionKey:4) ..... That alone will cause the program to not compile, you must add following line. c eval *inka = *off After doing that, I could then of course you the following code... c dou F3 c exsr Build_ReqCtl c dou F3 or F12 or Rebuild c exsr Show_ReqCtl c enddo c enddo The following code sample, is just that, a sample. Please be nice, if I didn't write the code the way you would have. However I'm always open to friendly advice... Tim > -----Original Message----- > From: Scott Klement [SMTP:infosys@klements.com] > Sent: Tuesday, August 17, 1999 10:52 PM > To: RPG400-L@midrange.com > Subject: Re:Named Indicators... > > Marc, > > When I see the line: > C if *INKC = *On > > I now know EXACTLY that this line does without having to search the > code at all. > > > Scott Klement > Information Systems Manager > Klement's Sausage Co, Inc. > > > > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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-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.