05-28-2023, 03:06 PM
How interesting is this. Adding additional code in the subroutine causes the BAM program to choke earlier.
It kind of makes sense if it is about some memory limit getting reached. Maybe that's what is going on with QB64pe ???
The following version of the program chokes at just a little over 420, 900:
It kind of makes sense if it is about some memory limit getting reached. Maybe that's what is going on with QB64pe ???
The following version of the program chokes at just a little over 420, 900:
Code: (Select All)
Sub howRecursive (i As long)
If i < 0 Then Print "_Integer64 turned negative.": End
if i mod 300 = 0 then Print i: _display
if i > 520000 then print "press a key to continue" : _display : temp$ = input$(1)
howRecursive(i + 1)
End Sub
howRecursive(1)