In the U.S., 2-1=1. However... not too sure when you convert to Canadian (or English(?)).... <grin>



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Friday, March 12, 2010 5:00 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Programming by the mathematically challenged

Oh this takes me back.

Since this all pre-dates email etc. I'll recode an extract from the
first program I worked on when I took over as deputy DPM at a not-to-
be-named municipal government office.

total = a + b
temp = total - a
if temp <> b
terminate with error
endif

This series of calculations including multiplication etc. continued on
for over 1,500 lines (OK - it was actually punch cards). The "proud
programmer" handing it to me told me that he didn't think I'd ever get
the program to fit in memory. He just about died of shock when he saw
the end result (about 800 lines including all the stuff he had never
coded) and insisted that the user must have changed the specs.

In case it has not occurred to you - it may explain it all if I tell
you that this guy was an accountant who had been trained in
programming - but couldn't break away from double-entry book keeping!

Jon Paris

www.Partner400.com
www.SystemiDeveloper.com


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
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.

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. (Knotts Berry Farm - Cedar Fair L.P.)

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.