Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stack size limit for If/Then statements?
#9
One thing to note:  Compiling 65,536 lines of code (as the above program generates) requires about 30GB of ram for cpp to do its job.  If you're thinking of doing 16million lines of code in such a manner, I hope you've got a LOT of memory available and LOTS and LOTS and LOTS of time.

Seems like your program needs some serious restructuring.  


SELECT CASE ASC(Lookahead$, 1)
    CASE 0
        g$ = "XXXXXXX"
        SELECT CASE ASC(Lookahead$,2)
        CASE 0
              g$ = "YYYYYYY"
              SELECT CASE ASC(Lookahead$, 3)
                    CASE 0: g$ = "ZZZZZZZ"
                    CASE 1: g$ = "AAAAAAA"
                    CASE 2: g$ = "BBBBBBB"
                END SELECT
         CASE 1

         END SELECT
  CASE 1
END SELECT
Reply


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



Users browsing this thread: 7 Guest(s)