05-28-2023, 02:39 PM
BAM (well, javascript) chokes at just a little over 526,200.
BAM version of the test program:
I wanted to see how QBJS handles my BAM program (I was expecting same results), but QBJS is giving the error:
BAM version of the test program:
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
howRecursive(i + 1)
End Sub
howRecursive(1)
I wanted to see how QBJS handles my BAM program (I was expecting same results), but QBJS is giving the error:
Code: (Select All)
WARN : 4 : Missing or unsupported method: 'howRecursive(i' - ignoring line
ERROR : 0 :
Unexpected token '}'
SyntaxError: Unexpected token '}'
at new AsyncFunction ()
at runProgram (https://qbjs.org/qbjs-ide.js:234:22)