|
Booth wrote " The issue came up because we're finding a LO condition does not turn on *in10"
C A COMP B 101020
Are you saying that after that line of code, both indicators 10 and 20 were off ('0')...?
And just for grins to identify the compiler - is this RPG36, RPG, RPGLE ? What OS Version?
And any special compiler overrides like FIXNBR or ALWNULL?
And "finding a LO condition" - how low... like a very low hex value (below x'40')?
Jim Franz
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Booth Martin
Sent: Sunday, May 17, 2020 2:54 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: RPG COMP HiLoEq
That was the original assumption. The issue came up because we're finding a LO condition does not turn on *in10. So there is something else going on.
On 5/16/2020 10:31 PM, midrange wrote:
If high then *IN10 = '1'--
If low then *IN10 = '1'
If equal then *IN20='1'
Could also be like this...
C A COMP B 101520
Jim
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
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.