I have a problem with Turbo Pascal 7.0. I keep getting the 202 Stack
Overflow error. I tried changing everything with the memory stack size to
maximun in the Option. I was just wondering whether there is any way
around this problem. I tried setting the stack check off {$S-} but the
progam became erratic.
As an aside, if I convert it to Turbo C++, would this still be a problem?
Thank you.
Gee, maybe you could tell something more about the program. Like do you
use recursion. What kind of local variables you declare. etc. etc. etc.
etc. etc.
Setting stack checking off is the last thing to do when you get stack
overflow. I bet when you burn a fuse, you just insert a bigger one.
BTW is it really necessary to crosspost in so many groups. If I had
sen that before writing I would not have written this. Followups set.
Osmo
is this what you have done?
procedure duck(goose : string);
var goose : string;
Minh Pham wrote:
>
> Please help. I have been working on this program for years.
>
> I have a problem with Turbo Pascal 7.0. I keep getting the 202 Stack
> Overflow error. I tried changing everything with the memory stack size to
> maximun in the Option. I was just wondering whether there is any way
> around this problem. I tried setting the stack check off {$S-} but the
> progam became erratic.
>
> I'd bet you are defining a variable with the same name as the name of
> the variable you are passing in the procedure
> is this what you have done?
>
> procedure duck(goose : string);
> var goose : string;
> >