01-29-2024, 01:47 AM
@SMcNeill: I'm using the 64 bit version of Qb64pe on Ubuntu Linux, and I get a hard limit with the main sub that maxes out (trial and error) to about 9,786 lines of code before I get a C++ error. Even one line before this is fine, though. Any thoughts?
@BPlus: Yes indeed. 9,786 is the hard limit. And other than magic to increase stack size, there doesn't seem to be a practical way around it! The automation tool is rather crude, so any use of splitting the modules to or partitioning them to subs wont work. I'm trying to figure out a way, though. I really wish they would have a dynamic stack size. This has been an issues since 16 bit DOS, but shouldn't have these limits with 32 and 64 bit versions.
@BPlus: Yes indeed. 9,786 is the hard limit. And other than magic to increase stack size, there doesn't seem to be a practical way around it! The automation tool is rather crude, so any use of splitting the modules to or partitioning them to subs wont work. I'm trying to figure out a way, though. I really wish they would have a dynamic stack size. This has been an issues since 16 bit DOS, but shouldn't have these limits with 32 and 64 bit versions.