|
-- Just a thought here. Why don't you edit one of your members in CODE; then click Actions>Convert all to C free form. You'll see some neat stuff. This assumes that your existing code is well written. I think that "style wise" you'll like what CODE does for you when it does this conversion. I also have a writeup from Hans Boldt of the Toronto lab because I asked about coding style when using free form last spring. If you guys would like a copy: (See attached file: Pages from AS051SX0.pdf) Hope this helps a little. Bryan Meyers also has a new version of his style guide. It was written up in a recent iSeries News magazine (January, I think). Bob Bob Slaney/Atlanta/IBM@IBMUS (Lotus Notes) Internet id: rjslaney@us.ibm.com VM id: DALVM1.RJSLANEY@VM Tieline 445-7374 Direct (770)835-7374 FAX tie 445-7232 Direct (770)835-7232 IBM Learning Services iSeries Courseware Developer IBM Corp. 3200 Windy Hill Road Atlanta, GA 30339 Internal Zip WG08C "Smith, Nelson" <NSmith@lincare.c To: "'rpg400-l@midrange.com'" <rpg400-l@midrange.com> om> cc: Sent by: Subject: RE: MOVE opcode in freeform (was Strange behavior w/%editc) rpg400-l-admin@mi drange.com 02/27/2002 08:42 AM Please respond to rpg400-l I agree with that, Bob. That has always been one of my pet peeves with magazine and newsgroup code. The same folks who will argue endlessly over the merits of DOW vs. DOU, often post such abbreviated hard-to-understand code, always claiming lack of space or time as the justification for it. I've even seen some of that from the boys and girls at the lab, and they should be the evangelists of free-form. Or at least, promoting the proper use of it. As far as I'm concerned, this list is my number one classroom and I count on it for "best of breed" examples that I can copy and file away for future use. Where is the best place to find well-written examples of free-form (in any language)? Are there any good books on style? I'm just now going to V5, and since I've had so little experience at it, I would like to have some good examples to go by, initially. Not the most technically correct code, but code that is easiest to read and maintain. Emphasis on "maintain". I've yet to decide if it's the way to go or not, but I agree that "mixed" is not a pretty sight. > But to be honest, I have yet to see one example of free-format RPG IV > code posted to this list that has been written in a way that is similar > to code written by people that write applications with free-format > languages for a living (not as a hobby). ************************************************************************************************************************************************************************************************************ This message originates from Lincare Holdings Inc. It contains information which maybe confidential or privileged and is intended only for the individual or entity named above. It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. All personal messages express views solely of the sender, which are not to be attributed to Lincare Holdings Inc., and may not be copied or distributed without this disclaimer. If you received this message in error, please notify us immediately at MailAdmin@lincare.com or (800) 284-2006. ************************************************************************************************************************************************************************************************************ _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. -- [ Pages from AS051SX0.pdf of type application/pdf deleted ] --
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.