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.

I recently implemented a function (in C++) to read a B3D file without recursion. First I converted the code provided in 'Specs and Utils->Sample Blitz code' link but I couldn't load most of my B3D models because there is recursion when reading chunks. Now without recursion I can read all the models with safe (no matter how large the files are)
Usually a First-In-Last-Out queue helps you to override.
If I remember well you can set how large your program stack will be, but you cannot count on this in real problems as mentioned above.