Maximum Stack Exceeded

What causes a Maximum Stack Exceeded error? is it coz of calling a subprogram within a subprogram? should all subs be called in the main?

Hello @comfort

It is due to calling the same subprograms in the subprogram. For example, you have subprogram name Practice and you are calling the same subprogram in this subprogram, which is Practice as well.

You can check it as bellow:
image

It will give you this error " Maximum Stack Exceeded "

2 Likes

thank you, i tried it and it works

I am glad that it worked for you. Can you please mark the answer as a Solution so that others can use it in their solutions as well.

Thank you in advance! Have a nice day.

Warm Regards
M. Hayyan Khan

1 Like