Re: Question about recursion
Posted: 06 Oct 2010, 12:37
I also faked recursion by a FIFO stack but the FIFO implementation must be faulty somehow. It appears not to be an issue of missing memory cause it calculates new moves for hours and hours in a subroutine without returning anything to the calling main program (I guess it's trapped in an endless loop).
https://sourceforge.net/apps/phpbb/mind ... p=350#p350
As NXC hasn't even got a runtime debugger (like RobotC) I abandoned all hope for finding the bug(s).
A kingdom of heaven... *sigh*
https://sourceforge.net/apps/phpbb/mind ... p=350#p350
As NXC hasn't even got a runtime debugger (like RobotC) I abandoned all hope for finding the bug(s).
A kingdom of heaven... *sigh*