From: Ardy Falls Newsgroups: comp.os.msdos.djgpp Subject: Function Stack Date: Wed, 07 Jul 1999 13:33:51 -0700 Content-Transfer-Encoding: 7bit X-Posted-Path-Was: not-for-mail Content-Type: text/plain; charset=us-ascii X-ELN-Date: 7 Jul 1999 20:35:34 GMT X-ELN-Insert-Date: Wed Jul 7 13:45:02 1999 Organization: EarthLink Network, Inc. Lines: 9 Mime-Version: 1.0 NNTP-Posting-Host: pool0388.cvx20-bradley.dialup.earthlink.net Message-ID: <3783B9AF.F1E6F320@addr.com> X-Mailer: Mozilla 4.02 [en]C-DIAL (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com How much stack can be allocated for a function? I have a function that (overflows the stack I guess) and when I try to accsess some of the varibals (such as a=b) it writes into other functions memory and writes to the global varibals. why? and how to fix this bug. thanks, Ardy http://www.addr.com/~ardy/ email ardy AT addr DOT com