×
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.
----- Original Message -----
From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Sunday, March 30, 2008 7:27 PM
Subject: Re: Classic Traps -- I need your input!
On 31/03/2008, at 11:16 AM, Joe D wrote:
Hmm ...
D month S 5I 0
D quarter S 5I 0
d result S 50
DSPLY 4=2
Hence my classification as a propensity to rewrite as a Trap.
I completely overlooked the flaw in my logic when faced with the 30+ lines
of code do handle a simple issue....
It is too late for me to pop off the correct answer, and if I spend 30 more
seconds here my wife may kill me, but the point I so poorly was trying to
make is that there is often a simple elegant answer, and sometimes there is
not. A skill we all need is to recognize our current situation.
BTW - thanks for pointing out my flawed formula. Lord only knows how long
that might have gone unchecked :)
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.