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*
Question about recursion
Who is online
Users browsing this forum: No registered users and 3 guests