Link to .capx file (required!):
dl.dropboxusercontent.com/u/28087823/Construct%20Examples/recursionBug/recursionbug.capx
It's a simple test of recursion, it ought to calculate the sum of all integers up to the value I put into the function call parameter0
Steps to reproduce:
1. run the layout
2. press the calculate button
3.
Observed result:
About half the times, for values over 40 in the function call, it gives me this message:
*Javascript error!
too much recursion
localhost/Function_plugin.js, line 192 (col undefined)
This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer"
If I press the "calculate" button again, it DOES provide the correct calculation
Expected result:
It should provide the correct calculation without first giving me an error message.
Browsers affected:
Chrome: yes ( for values over 1000 )
Firefox: yes (for values over 40)
Internet Explorer: ?
Operating system & service pack:
windows 7
Construct 2 version:
128.2 (32bit)