Recursive calls and stack space

Miscellaneous Forums/General Discussion/Recursive calls and stack space

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Is there a pre-defined limit on how many times a function can call itself before running out of stack space?
Depends on your OS.

If so, is there a way of checking available stack space before each call to avoid a program crash?
No.