From: kers AT hplb DOT hpl DOT hp DOT com () Newsgroups: comp.os.msdos.djgpp,comp.lang.c Subject: Re: Recursions and Static declarations....?Is this wrong... Date: 19 Jul 2002 10:22:19 GMT Organization: Hewlett-Packard Laboratories, Bristol, UK Lines: 13 Message-ID: References: <5a91d0ef DOT 0207181004 DOT 49e67056 AT posting DOT google DOT com> NNTP-Posting-Host: cdollin.hpl.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: murdoch.hpl.hp.com 1027074139 11317 15.144.94.165 (19 Jul 2002 10:22:19 GMT) X-Complaints-To: usenet AT murdoch DOT hpl DOT hp DOT com NNTP-Posting-Date: 19 Jul 2002 10:22:19 GMT X-Newsreader: knews 1.0b.1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article , Hans-Bernhard Broeker writes: > > No, you can't. At least not sensibly, in the way you did it. You > shouldn't be recursing for this, in the first place, nor should you > ever use static variables to keep state across a recursion call. Not even for such things as recording recursion depth for prettyprinting? -- Chris "electric hedgehog" Dollin C FAQs at: http://www.faqs.org/faqs/by-newsgroup/comp/comp.lang.c.html C welcome: http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html