There is one person whose code I look at frequently and I always make changes. That person is Doug Hennig. I don't change the working code itself. All I do is remove the stuff after the ENDIF, ENDDO, etc. Doug finds this style easier, I find it more difficult. One way is not any more or less correct than another....it's just a different in style.
>If this is working code that is "production" in nature (i.e. the business depends on it) then re-writing it should be your LAST CONSIDERATION.
>
>Sooner or later you HAVE TO learn to read and work with other people's code, and the sooner you face that music, the better off you and your clients will be.
>
>The book(s) on "refactoring" seems to have been interpreted by many as official license to re-write whatever code you may dislike. While it doesn't say that at all, it's awfully convenient to see it that way.
>
>cheers
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer