Recursive calls and stack space

Miscellaneous Forums/General Discussion/Recursive calls and stack space

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, 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? If so, is there a way of checking available stack space before each call to avoid a program crash?