|
On Mon, 17 May 2004, Hans Boldt wrote:
> code. Free-form code that's not properly indented looks pretty bad. The
> For those who need some guidelines, the most important thing about
> free-form coding is consistent indenting:
> 1) Start at column 8, and for each new nesting level, indent 3
> characters. That is, the code within a IF, DOW, DOU, or subroutine block
> should be indented 3 characters in from the IF, DOW, DOU, or BEGSR
> statement.
> 2) The ENDxx statement should be indented the same amount as the
> corresponding IF, DOW, DOU, etc.
> 3) Comments should be indented at the same level as code.
Perhaps a code beautifier like the unix 'indent' program would be handy?
I use indent all the time when writing C code.
James Rich
Vs lbh guvax bs argjbex frphevgl nf na vzzhar flfgrz, Jvaqbjf vf UVI.
-- Wbr Cyhgn
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.