|
One suggestion I have Jason is that you avoid using the *INKx functionkey
names. That's just a personal opinion but I hate having to debug aprogram
and sit there and gosee
"Hmm...let's see...this program uses *INKO here so what is that? Let's
that's *IN01=*INKA, *IN02=*INKB, *IN03=*INKC, *IN10=*INKJ...*INKM=*IN13,them
*INKN=*INK14...OK. *INKO = *IN15".
All that just so I can figure out which actual function key the user
pressed.
I personally use only numbered indicators when it is necessary to use
at all, such as in a display file.[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
On Behalf Of Jason Cawoodlist
Sent: Monday, October 01, 2007 11:32 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Help with Function Keys in a subfile
I'm working on my first subfile program and I'm having trouble with
the *inkl indicator not setting it to *off.
I've only been working with RPGIV for a little over a year now and
have learned a lot from the posts all of you have left.
Here is the section I'm having trouble with.
C @getord begsr
...
C DoW *inkf = *off
C and *inkc = *off
C and *inkl = *off
C Write Footer
C ExFmt SUBCTL
C EndDo
C If *inkf = *on
C Eval *inkf = *off
C EXSR @ChkChg
C EndIf
C ENDsr
*--------------------------------------------*
C @ChkChg BegSR
...
C If *inkl = *on
C Eval *inkl = *off
C Exsr @getord
C EndIf
...
C ENDsr
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxxlist
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.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
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 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.