Recursion Limit
#6
Oh you guys and gals have been busy!

I was testing other Basics and learned LB could go to 4 million +

Well I doubled that in QB64pe v3.7 with same code tip: use a GoSub!

Code: (Select All)
Dim i As _Integer64
i = 1
GoSub howRecursive
End
howRecursive:
If i < 0 Then Print "_Integer64 turned negative.": End
Print i
_Delay .000000000005
i = i + 1
GoSub howRecursive
Return

I was up past 8 million or was it 81 million? I stopped program to get my computer back to do more stuff.

Oh hey! Works way way way faster w/o delay (the key word = works) Smile 
Way past 200 million as I write this.

3 Billion+ whats to stop this? The _Integer64 Type I think.

Oh got over .5 Billion not 3 Billion, misread numbers:
   
b = b + ...
Reply


Messages In This Thread
Recursion Limit - by bplus - 05-28-2023, 02:04 PM
RE: Recursion Limit - by CharlieJV - 05-28-2023, 02:39 PM
RE: Recursion Limit - by dbox - 05-28-2023, 03:55 PM
RE: Recursion Limit - by CharlieJV - 05-28-2023, 03:06 PM
RE: Recursion Limit - by mnrvovrfc - 05-28-2023, 03:37 PM
RE: Recursion Limit - by bplus - 05-28-2023, 06:10 PM
RE: Recursion Limit - by CharlieJV - 05-28-2023, 06:59 PM
RE: Recursion Limit - by Jack - 05-28-2023, 06:30 PM
RE: Recursion Limit - by bplus - 05-28-2023, 10:30 PM
RE: Recursion Limit - by bplus - 05-28-2023, 11:14 PM
RE: Recursion Limit - by dbox - 05-29-2023, 12:04 AM



Users browsing this thread: 4 Guest(s)