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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Recursion Limit bplus 14 2,602 10-17-2025, 07:46 PM
Last Post: a740g
  Feature Request: Limit Scope of a "Find" and "Change" hanness 5 741 06-21-2025, 11:21 PM
Last Post: SMcNeill
  Recursion limit? TerryRitchie 5 1,204 03-12-2024, 02:17 PM
Last Post: GareBear
  Can't set font size in Linux Circlotron 3 1,000 08-28-2022, 05:58 PM
Last Post: mnrvovrfc
  How can I change editor font size in Linux bigriverguy 1 752 06-22-2022, 06:15 PM
Last Post: cage

Forum Jump:


Users browsing this thread: 1 Guest(s)