On Wed, 2 Apr 2008, Allin Cottrell wrote:
> BTW, during debugging (using a bunch of 'funcerr'
statements), I
> stumbled over other quirks:
>
> 1) At some point I got an error saying "IF depth exceeded" or
> something like that. Now I don't nest that many IF blocks, so I
> guess this happened because I repeatedly interrupted functions
> in the middle of IF blocks by using 'funcerr'. But that suggests
> that some "stacks" (or whatever they're called) are not properly
> cleaned up when a function exits with an error...
Yes, I suppose that must be the case.
This probably isn't your case, but I remember I ran into this once, only
to discover, after many swearwords, that I had and "if" without an
"endif"
somewhere.
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti