Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stack size limit for If/Then statements?
#5
@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.
Reply


Messages In This Thread
RE: Stack size limit for If/Then statements? - by JamesAlexander - 01-29-2024, 01:47 AM



Users browsing this thread: 10 Guest(s)