|
Thanks You've all been a great help, now I can get on with writing standards, when I have I will post it back up to list to share as you've all contributed, just incase it helps any one else. Thanks Again, and if you have any more ideas keep them coming. Eve -----Original Message----- From: Joel Cochran [mailto:jrc@xxxxxxxxxx] Sent: 02 October 2003 08:11 To: RPG programming on the AS400 / iSeries Subject: Re: Free Fromat Standards I agree with Scott that not that much changes. Everything below except for the spacing, could be applied to fixed as well as /free. That being said, I based our style on our Java style, which I got here: http://www.javaranch.com/style.jsp Obviously not everything translates, but mixed case naming and semi-colon placement are the same. My documentation even resembles JavaDoc. Here are some other standards/guidelines we employ: - Indent 2 spaces per level starting under the 'r' in /free. - If you have to wrap a line of code more than once you are either nested too far or the line is too complicated. - All database files are prefixed. - File field names are in ALLCAPS. - Qualified datastructures are recommended but not required. - Only use named indicators. - No compile time tables/arrays, inz DS subfields instead. Naturally this all applies to new code... Joel http://www.rpgnext.com _______________________________________________ This is the RPG programming on the AS400 / iSeries (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. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ The integrity of this message cannot be guaranteed on the Internet. Natexis Metals Limited cannot therefore be considered responsible for the contents. Any unauthorised use or dissemination is prohibited. If you are not the intended recipient of this message please delete it and notify the sender. Please visit our website www.natexismetals.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.