Mike Mansheim wrote: >I've always formatted if/while/for, etc. C blocks like this: > >if (blah) >{ > code... > code... >} > I learned using this style and have stuck to it. Perhaps the informal rule that "a function shouldn't be longer than one screenful of text" promotes use of the second method, whereby a few extra lines of code can be squeezed in. Alternatively, the second method is more appropriate for published code (books/magazines), where space is an issue. _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics