Question about recursion

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Question about recursion

Post by HaWe »

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*
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests